Index: pkg/compiler/lib/src/diagnostics/messages.dart |
diff --git a/pkg/compiler/lib/src/diagnostics/messages.dart b/pkg/compiler/lib/src/diagnostics/messages.dart |
index edaf69c59f405ccc4df53c4f31b64890885cd0b0..ce8b6a7c0c579bca3ccf27aae87173dc00612b0d 100644 |
--- a/pkg/compiler/lib/src/diagnostics/messages.dart |
+++ b/pkg/compiler/lib/src/diagnostics/messages.dart |
@@ -2137,14 +2137,14 @@ main() => A.A = 1; |
MessageKind.JS_INTEROP_CLASS_CANNOT_EXTEND_DART_CLASS, |
"Js-interop class '#{cls}' cannot extend from the non js-interop " |
"class '#{superclass}'.", |
- howToFix: "Annotate the superclass with @Js.", |
+ howToFix: "Annotate the superclass with @JS.", |
examples: const [ |
""" |
import 'package:js/js.dart'; |
class Foo { } |
- @Js() |
+ @JS() |
class Bar extends Foo { } |
main() { |
@@ -2161,7 +2161,7 @@ main() => A.A = 1; |
""" |
import 'package:js/js.dart'; |
- @Js() |
+ @JS() |
class Foo { |
bar() {} |
} |