Index: sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart |
=================================================================== |
--- sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart (revision 15278) |
+++ sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart (working copy) |
@@ -968,7 +968,7 @@ |
} else if (selector.isSetter()) { |
name = backend.namer.setterName(selector.library, selector.name); |
} else { |
- assert(selector.isCall()); |
+ assert(selector.isCall() || selector.isOperator()); |
name = backend.namer.instanceMethodInvocationName( |
selector.library, selector.name, selector); |
if (selector.argumentCount > 0) { |