| Index: lib/compiler/implementation/elements/elements.dart
|
| diff --git a/lib/compiler/implementation/elements/elements.dart b/lib/compiler/implementation/elements/elements.dart
|
| index ea7c5dde6e0b27d0dad267e3288cfe1791fa80f5..fcc03a160430337ce61953d6a25af6465096e662 100644
|
| --- a/lib/compiler/implementation/elements/elements.dart
|
| +++ b/lib/compiler/implementation/elements/elements.dart
|
| @@ -1299,12 +1299,12 @@ class Elements {
|
|
|
| static SourceString constructOperatorName(SourceString receiver,
|
| SourceString selector,
|
| - [bool isPrefix = false]) {
|
| + [bool isUnary = false]) {
|
| String str = selector.stringValue;
|
| if (str === '==' || str === '!=') return OPERATOR_EQUALS;
|
|
|
| if (str === '~') str = 'not';
|
| - else if (str === 'negate' || (str === '-' && isPrefix)) str = 'negate';
|
| + else if (str === 'negate' || (str === '-' && isUnary)) str = 'negate';
|
| else if (str === '[]') str = 'index';
|
| else if (str === '[]=') str = 'indexSet';
|
| else if (str === '*' || str === '*=') str = 'mul';
|
|
|