| Index: lib/compiler/implementation/elements/elements.dart
|
| diff --git a/lib/compiler/implementation/elements/elements.dart b/lib/compiler/implementation/elements/elements.dart
|
| index db285be7446542d499059f2cc318fb3d2e1c4d9e..12ffc0f8d3115878728d63cd1e9dc9b764b68d1e 100644
|
| --- a/lib/compiler/implementation/elements/elements.dart
|
| +++ b/lib/compiler/implementation/elements/elements.dart
|
| @@ -953,11 +953,14 @@ class Elements {
|
| return new SourceString('$r\$$s');
|
| }
|
|
|
| + static final SourceString OPERATOR_EQUALS =
|
| + const SourceString(@'operator$eq');
|
| +
|
| static SourceString constructOperatorName(SourceString receiver,
|
| SourceString selector,
|
| [bool isPrefix = false]) {
|
| String str = selector.stringValue;
|
| - if (str === '==' || str === '!=') return Namer.OPERATOR_EQUALS;
|
| + if (str === '==' || str === '!=') return OPERATOR_EQUALS;
|
|
|
| if (str === '~') str = 'not';
|
| else if (str === 'negate' || (str === '-' && isPrefix)) str = 'negate';
|
|
|