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

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

Issue 10879091: Fixed whitespace (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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
« no previous file with comments | « lib/compiler/implementation/resolver.dart ('k') | tests/co19/co19-dart2js.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/warnings.dart
diff --git a/lib/compiler/implementation/warnings.dart b/lib/compiler/implementation/warnings.dart
index ad878853e923f723045f9cbb912ab61a6c399b1d..ba14e5126430890f9d68ed09692f874685c576c5 100644
--- a/lib/compiler/implementation/warnings.dart
+++ b/lib/compiler/implementation/warnings.dart
@@ -220,6 +220,15 @@ class MessageKind {
static final EXTRA_FORMALS = const MessageKind(
"Warning: Formal parameters will not be allowed here in M1.");
+ 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.");
« no previous file with comments | « lib/compiler/implementation/resolver.dart ('k') | tests/co19/co19-dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698