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

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

Issue 10854216: Fix for class members cannot have the same name as the class in dart2js (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
Index: lib/compiler/implementation/warnings.dart
diff --git a/lib/compiler/implementation/warnings.dart b/lib/compiler/implementation/warnings.dart
index e938bbfab17b114555e9e74531b7ffa9475009fc..ec93fd1ceb423cca383aef1d4432be8e4e7f2d18 100644
--- a/lib/compiler/implementation/warnings.dart
+++ b/lib/compiler/implementation/warnings.dart
@@ -78,6 +78,9 @@ class MessageKind {
'invalid initializer');
static final FUNCTION_WITH_INITIALIZER = const MessageKind(
'only constructors can have initializers');
+ static final CONSTRUCTOR_WITH_RETURN_TYPE = const MessageKind(
+ 'cannot have return type for constructor');
ahe 2012/08/24 08:32:18 Please append new error messages just before COMPI
+
static final REDIRECTING_CONSTRUCTOR_CYCLE = const MessageKind(
'cyclic constructor redirection');
static final REDIRECTING_CONSTRUCTOR_HAS_BODY = const MessageKind(

Powered by Google App Engine
This is Rietveld 408576698