Index: pkg/compiler/lib/src/js_backend/no_such_method_registry.dart |
diff --git a/pkg/compiler/lib/src/js_backend/no_such_method_registry.dart b/pkg/compiler/lib/src/js_backend/no_such_method_registry.dart |
index eb4f42c5ace9ccabab08004114b7cd89cae6aa74..0a322bdb03fea62e00e3b5ed957c9faf4b3cc9be 100644 |
--- a/pkg/compiler/lib/src/js_backend/no_such_method_registry.dart |
+++ b/pkg/compiler/lib/src/js_backend/no_such_method_registry.dart |
@@ -82,20 +82,20 @@ class NoSuchMethodRegistry { |
void emitDiagnostic() { |
throwingImpls.forEach((e) { |
if (!_hasForwardingSyntax(e)) { |
- _compiler.reportHint(e, |
- MessageKind.DIRECTLY_THROWING_NSM); |
+ _compiler.reportHintMessage( |
+ e, MessageKind.DIRECTLY_THROWING_NSM); |
} |
}); |
complexNoReturnImpls.forEach((e) { |
if (!_hasForwardingSyntax(e)) { |
- _compiler.reportHint(e, |
- MessageKind.COMPLEX_THROWING_NSM); |
+ _compiler.reportHintMessage( |
+ e, MessageKind.COMPLEX_THROWING_NSM); |
} |
}); |
complexReturningImpls.forEach((e) { |
if (!_hasForwardingSyntax(e)) { |
- _compiler.reportHint(e, |
- MessageKind.COMPLEX_RETURNING_NSM); |
+ _compiler.reportHintMessage( |
+ e, MessageKind.COMPLEX_RETURNING_NSM); |
} |
}); |
} |