Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/warnings.dart |
| diff --git a/sdk/lib/_internal/compiler/implementation/warnings.dart b/sdk/lib/_internal/compiler/implementation/warnings.dart |
| index 554a3bc81ec599759633fe2df8b40b75686cdb51..345b52b340c4bb5150287d6200f48b8d1c297878 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/warnings.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/warnings.dart |
| @@ -1031,6 +1031,11 @@ Error: '#{value}' is not a valid Symbol name because is not: |
| "Error: No expression after 'throw'. " |
| "Did you mean 'rethrow'?"); |
| + static const MessageKind DEPRECATED_TYPEDEF_MIXIN_SYNTAX = const MessageKind( |
| + "Warning: 'typedef' keyword in mixin applications " |
| + "was deprecated, replaced with 'class'.", |
|
ahe
2013/10/10 11:30:15
I think this would be enough: "Warning: 'typedef'
aam-me
2013/10/11 03:02:06
Done.
|
| + howToFix: "Try replacing 'typedef' with 'class'."); |
|
ahe
2013/10/10 11:30:15
Can you add an example as well?
aam-me
2013/10/11 03:02:06
Done.
Very cool message_kind_test.dart test. But
|
| + |
| static const MessageKind MIRRORS_EXPECTED_STRING = const MessageKind( |
| "Hint: Can't use '#{name}' here because it's an instance of '#{type}' " |
| "and a 'String' value is expected.", |