Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Unified Diff: sdk/lib/_internal/compiler/implementation/warnings.dart

Issue 26651006: Switch dart2js 'typedef name = mixinApplication' to 'class name = mixinApplication'. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.",

Powered by Google App Engine
This is Rietveld 408576698