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

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

Issue 346553002: Cleanup argument mismatch message. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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 30fda7962d1ad5b11c944a23fcbb3d921db94b9b..ff23fcbae4939882e168c2c980f9890d5a162591 100644
--- a/sdk/lib/_internal/compiler/implementation/warnings.dart
+++ b/sdk/lib/_internal/compiler/implementation/warnings.dart
@@ -400,8 +400,9 @@ main() => new C();"""]);
static const MessageKind DUPLICATE_SUPER_INITIALIZER = const MessageKind(
"Cannot have more than one super initializer.");
- static const MessageKind INVALID_ARGUMENTS = const MessageKind(
- "Arguments do not match the expected parameters of '#{methodName}'.");
+ static const MessageKind INVALID_CONSTRUCTOR_ARGUMENTS = const MessageKind(
+ "Arguments do not match the expected parameters of constructor "
+ "'#{constructorName}'.");
static const MessageKind NO_MATCHING_CONSTRUCTOR = const MessageKind(
"'super' call arguments and constructor parameters do not match.");

Powered by Google App Engine
This is Rietveld 408576698