Bug 95509 - Ambiguous operator[] after r127191 on some compiler
Summary: Ambiguous operator[] after r127191 on some compiler
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Benjamin Poulain
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-30 16:22 PDT by Benjamin Poulain
Modified: 2012-08-30 16:41 PDT (History)
0 users

See Also:


Attachments
Patch (4.45 KB, patch)
2012-08-30 16:28 PDT, Benjamin Poulain
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Poulain 2012-08-30 16:22:10 PDT
Ambiguous operato[]  after r127191 on some compiler
Comment 1 Benjamin Poulain 2012-08-30 16:28:17 PDT
Created attachment 161581 [details]
Patch
Comment 2 Simon Fraser (smfr) 2012-08-30 16:31:19 PDT
Comment on attachment 161581 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=161581&action=review

> Source/JavaScriptCore/ChangeLog:8
> +        On some compiler, the operator[] conflicts with the Obj-C++ operators. This attempts to solve

Typo

> Source/WTF/wtf/text/WTFString.h:452
> +    // Workaround for a compiler bug. Use operato[] instead.

Typo
Comment 3 Benjamin Poulain 2012-08-30 16:41:05 PDT
Committed r127212: <http://trac.webkit.org/changeset/127212>