| Index: pkg/compiler/lib/src/warnings.dart
|
| diff --git a/pkg/compiler/lib/src/warnings.dart b/pkg/compiler/lib/src/warnings.dart
|
| index d6945d2819ab634a6959fdecb21498602ebd525c..5c3c1608d5cec5df6006bce67a3cef786941f7e1 100644
|
| --- a/pkg/compiler/lib/src/warnings.dart
|
| +++ b/pkg/compiler/lib/src/warnings.dart
|
| @@ -1983,6 +1983,14 @@ Please include the following information:
|
| " <sdk>/lib/_internal/compiler/js_lib/preambles.");
|
|
|
|
|
| + static const MessageKind EXPERIMENTAL_ENUMS = const MessageKind(
|
| + "Experimental language feature 'enums' is not supported.",
|
| + howToFix: "Use option '--enable-enum' to use enum declarations.",
|
| + examples: const ["""
|
| +enum Enum { A, B, C }
|
| +main() => print(Enum.A);
|
| +"""]);
|
| +
|
| static const MessageKind EXPERIMENTAL_ASYNC_AWAIT = const MessageKind(
|
| "Experimental language feature 'async/await' is not supported.");
|
|
|
|
|