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

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

Issue 13084013: Handle assignability for Send and SendSet (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix dart2dart bugs. Created 7 years, 7 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
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/typechecker.dart ('k') | sdk/lib/io/http_headers.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7dcebd8a97a448255fd16cf5d9496ba86e188875..c609c17d1d1a07a8b57bc56e847a4b0cad360dbb 100644
--- a/sdk/lib/_internal/compiler/implementation/warnings.dart
+++ b/sdk/lib/_internal/compiler/implementation/warnings.dart
@@ -28,6 +28,10 @@ class MessageKind {
"no named argument '#{argumentName}' found on method");
static const METHOD_NOT_FOUND = const MessageKind(
'no method named #{memberName} in class #{className}');
+ static const OPERATOR_NOT_FOUND = const MessageKind(
+ 'no operator #{memberName} in class #{className}');
+ static const PROPERTY_NOT_FOUND = const MessageKind(
+ 'no property named #{memberName} in class #{className}');
static const NOT_CALLABLE = const MessageKind(
"'#{elementName}' is not callable");
static const MEMBER_NOT_STATIC = const MessageKind(
@@ -35,6 +39,9 @@ class MessageKind {
static const NO_INSTANCE_AVAILABLE = const MessageKind(
'#{name} is only available in instance methods');
+ static const THIS_IS_THE_METHOD = const MessageKind(
+ "This is the method declaration.");
+
static const UNREACHABLE_CODE = const MessageKind(
'unreachable code');
static const MISSING_RETURN = const MessageKind(
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/typechecker.dart ('k') | sdk/lib/io/http_headers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698