| 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..e235c326d906477ddff4601e6f00d907c41d72bb 100644
|
| --- a/pkg/compiler/lib/src/warnings.dart
|
| +++ b/pkg/compiler/lib/src/warnings.dart
|
| @@ -2081,6 +2081,24 @@ main() sync* {
|
| var yield;
|
| }"""]);
|
|
|
| + static const MessageKind NATIVE_NOT_SUPPORTED = const MessageKind(
|
| + "'native' modifier is not supported.",
|
| + howToFix: "Try removing the 'native' implementation or analyzing the "
|
| + "code with the --allow-native-extensions option.",
|
| + examples: const ["""
|
| +main() native "Main";
|
| +"""]);
|
| +
|
| + static const MessageKind DART_EXT_NOT_SUPPORTED = const MessageKind(
|
| + "The 'dart-ext' scheme is not supported.",
|
| + howToFix: "Try analyzing the code with the --allow-native-extensions "
|
| + "option.",
|
| + examples: const ["""
|
| +import 'dart-ext:main';
|
| +
|
| +main() {}
|
| +"""]);
|
| +
|
| //////////////////////////////////////////////////////////////////////////////
|
| // Patch errors start.
|
| //////////////////////////////////////////////////////////////////////////////
|
|
|