| Index: lib/compiler/implementation/ssa/builder.dart
|
| diff --git a/lib/compiler/implementation/ssa/builder.dart b/lib/compiler/implementation/ssa/builder.dart
|
| index dc55b9d8103689f1cf2013c52b4d580f92a9f557..b8a990fb8afa5589dc189e7a6af63620f6dd4da0 100644
|
| --- a/lib/compiler/implementation/ssa/builder.dart
|
| +++ b/lib/compiler/implementation/ssa/builder.dart
|
| @@ -2711,7 +2711,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
|
| if (element != null && element.isErroneous()) {
|
| ErroneousElement error = element;
|
| Message message = error.errorMessage;
|
| - if (message.kind == MessageKind.CANNOT_FIND_CONSTRUCTOR) {
|
| + if (message.kind === MessageKind.CANNOT_FIND_CONSTRUCTOR) {
|
| Element helper =
|
| compiler.findHelper(const SourceString('throwNoSuchMethod'));
|
| DartString receiverLiteral = new DartString.literal('');
|
| @@ -2732,7 +2732,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor {
|
| HInstruction arguments = new HLiteralList(inputs);
|
| add(arguments);
|
| pushInvokeHelper3(helper, receiver, name, arguments);
|
| - } else if (message.kind == MessageKind.CANNOT_RESOLVE) {
|
| + } else if (message.kind === MessageKind.CANNOT_RESOLVE) {
|
| generateRuntimeError(node.send, message.message);
|
| } else {
|
| compiler.internalError('unexpected unresolved constructor call',
|
|
|