Chromium Code Reviews| Index: dart/sdk/lib/_internal/compiler/implementation/warnings.dart |
| diff --git a/dart/sdk/lib/_internal/compiler/implementation/warnings.dart b/dart/sdk/lib/_internal/compiler/implementation/warnings.dart |
| index 3784b290c5418ade27a94e932d24fcf2e6b20dc7..e5f33098e85fc019a8133a67420c406180ddef18 100644 |
| --- a/dart/sdk/lib/_internal/compiler/implementation/warnings.dart |
| +++ b/dart/sdk/lib/_internal/compiler/implementation/warnings.dart |
| @@ -335,6 +335,12 @@ Length: #{3}'''); |
| static const MALFORMED_TYPE_REFERENCE = const MessageKind( |
| "Malformed type reference encountered in #{1}."); |
| + static const FACTORY_REDIRECTION_IN_NON_FACTORY = const MessageKind( |
| + "Error: factory redirection only allowed in factories."); |
|
Johnni Winther
2012/12/04 13:13:21
We need a style guide for capitalization of the fi
ahe
2012/12/05 08:04:21
Done.
|
| + |
| + static const MISSING_FACTORY_KEYWORD = const MessageKind( |
| + "Did you forget a factory keyword here?"); |
| + |
| static const COMPILER_CRASHED = const MessageKind( |
| "Error: The compiler crashed when compiling this element."); |