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

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

Issue 12334088: Stop creating selectors in the SSA builder that were already created by the resolver. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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
===================================================================
--- sdk/lib/_internal/compiler/implementation/warnings.dart (revision 18965)
+++ sdk/lib/_internal/compiler/implementation/warnings.dart (working copy)
@@ -215,6 +215,9 @@
static const ILLEGAL_SUPER_SEND = const MessageKind(
"#{name} cannot be called on super");
+ static const NO_SUCH_SUPER_MEMBER = const MessageKind(
+ "Cannot resolve #{memberName} in a superclass of #{className}");
+
static const ADDITIONAL_TYPE_ARGUMENT = const MessageKind(
"additional type argument");
@@ -338,6 +341,9 @@
static const CANNOT_RESOLVE_SETTER = const MessageKind(
'cannot resolve setter.');
+ static const CANNOT_RESOLVE_INDEX = const MessageKind(
+ 'cannot resolve [] member.');
+
static const VOID_NOT_ALLOWED = const MessageKind(
'type void is only allowed in a return type.');

Powered by Google App Engine
This is Rietveld 408576698