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

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

Issue 17447003: Correctly type check type variable expressions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 5425bd1f8718f91ded221d21e8bf49e416b5e99a..f643cd609da2c0c6128b221b16092cbb41cd8001 100644
--- a/sdk/lib/_internal/compiler/implementation/warnings.dart
+++ b/sdk/lib/_internal/compiler/implementation/warnings.dart
@@ -26,6 +26,8 @@ class MessageKind {
'additional argument');
static const NAMED_ARGUMENT_NOT_FOUND = const MessageKind(
"no named argument '#{argumentName}' found on method");
+ static const MEMBER_NOT_FOUND = const MessageKind(
+ 'no member named #{memberName} in class #{className}');
static const METHOD_NOT_FOUND = const MessageKind(
'no method named #{memberName} in class #{className}');
static const OPERATOR_NOT_FOUND = const MessageKind(
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/typechecker.dart ('k') | tests/compiler/dart2js/type_checker_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698