| Index: lib/compiler/implementation/warnings.dart
|
| diff --git a/lib/compiler/implementation/warnings.dart b/lib/compiler/implementation/warnings.dart
|
| index e938bbfab17b114555e9e74531b7ffa9475009fc..230fe2ebd4b776c1e46c3efb658e605adbc8ced6 100644
|
| --- a/lib/compiler/implementation/warnings.dart
|
| +++ b/lib/compiler/implementation/warnings.dart
|
| @@ -213,6 +213,15 @@ class MessageKind {
|
| static final BAD_ARITY_OVERRIDE_CONT = const MessageKind(
|
| "Info: this is the method whose parameters do not match.");
|
|
|
| + static final CONSTRUCTOR_WITH_RETURN_TYPE = const MessageKind(
|
| + "Error: cannot have return type for constructor.");
|
| +
|
| + static final ILLEGAL_FINAL_METHOD_MODIFIER = const MessageKind(
|
| + "Error: cannot have final modifier on method.");
|
| +
|
| + static final ILLEGAL_CONSTRUCTOR_MODIFIERS = const MessageKind(
|
| + "Error: illegal constructor modifiers: #{1}.");
|
| +
|
| static final COMPILER_CRASHED = const MessageKind(
|
| "Error: The compiler crashed when compiling this element.");
|
|
|
|
|