| Index: lib/compiler/implementation/elements/elements.dart
|
| diff --git a/lib/compiler/implementation/elements/elements.dart b/lib/compiler/implementation/elements/elements.dart
|
| index 4cc9f37151b960c31f67b185089b78545e434638..b3b0fe1244ce38c34a44862a21098b5390c14576 100644
|
| --- a/lib/compiler/implementation/elements/elements.dart
|
| +++ b/lib/compiler/implementation/elements/elements.dart
|
| @@ -1314,12 +1314,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';
|
|
|