Index: pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart |
index d6748b9679d49a9e5e60ffa4f95cf479208ff4fc..c71eaa2dc00247df3dbb8c02e35303b9b275cca0 100644 |
--- a/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/full_emitter/emitter.dart |
@@ -1812,7 +1812,8 @@ function(originalDescriptor, name, holder, isStatic, globalFunctionsAccess) { |
if (backend.requiresPreamble && |
!backend.htmlLibraryIsLoaded) { |
- compiler.reportHint(NO_LOCATION_SPANNABLE, MessageKind.PREAMBLE); |
+ compiler.reportHintMessage( |
+ NO_LOCATION_SPANNABLE, MessageKind.PREAMBLE); |
} |
// Return the total program size. |
return outputBuffers.values.fold(0, (a, b) => a + b.length); |