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

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

Issue 10083007: Resolve implicit super calls. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Improve comment. Created 8 years, 8 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 34d876f6204b3d1235588024be180baddebb2c4e..19f75f4614aa892d0e39b1ae72ff594966309b00 100644
--- a/lib/compiler/implementation/warnings.dart
+++ b/lib/compiler/implementation/warnings.dart
@@ -40,6 +40,8 @@ class MessageKind {
'cannot resolve #{1}');
static final CANNOT_RESOLVE_CONSTRUCTOR = const MessageKind(
'cannot resolve constructor #{1}');
+ static final CANNOT_RESOLVE_CONSTRUCTOR_FOR_IMPLICIT = const MessageKind(
+ 'cannot resolve constructor #{1} for implicit super call');
static final CANNOT_RESOLVE_TYPE = const MessageKind(
'cannot resolve type #{1}');
static final DUPLICATE_DEFINITION = const MessageKind(
@@ -87,7 +89,9 @@ class MessageKind {
static final DUPLICATE_SUPER_INITIALIZER = const MessageKind(
'cannot have more than one super initializer');
static final NO_MATCHING_CONSTRUCTOR = const MessageKind(
- 'no matching constructor found');
+ "super call arguments and constructor parameters don't match");
+ static final NO_MATCHING_CONSTRUCTOR_FOR_IMPLICIT = const MessageKind(
+ "implicit super call arguments and constructor parameters don't match");
static final NO_CONSTRUCTOR = const MessageKind(
'#{1} is a #{2}, not a constructor');
static final FIELD_PARAMETER_NOT_ALLOWED = const MessageKind(

Powered by Google App Engine
This is Rietveld 408576698