Index: pkg/compiler/lib/src/js_emitter/startup_emitter/model_emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/startup_emitter/model_emitter.dart b/pkg/compiler/lib/src/js_emitter/startup_emitter/model_emitter.dart |
index 78859405fceebe3a7ce8dbc9d186101c11665412..8c9f24783129663857d57171a2125aa9e7a07ec6 100644 |
--- a/pkg/compiler/lib/src/js_emitter/startup_emitter/model_emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/startup_emitter/model_emitter.dart |
@@ -211,7 +211,8 @@ class ModelEmitter { |
if (backend.requiresPreamble && |
!backend.htmlLibraryIsLoaded) { |
- compiler.reportHint(NO_LOCATION_SPANNABLE, MessageKind.PREAMBLE); |
+ compiler.reportHintMessage( |
+ NO_LOCATION_SPANNABLE, MessageKind.PREAMBLE); |
} |
if (compiler.deferredMapUri != null) { |