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

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

Issue 45143003: Implement JS_INTERCEPTOR_CONSTANT (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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 fb33d49c1e11ecdec11f809c0cd70d52441fd712..65bdff142db6e525e9f3d9a5c8dfcaefe0cf153e 100644
--- a/sdk/lib/_internal/compiler/implementation/warnings.dart
+++ b/sdk/lib/_internal/compiler/implementation/warnings.dart
@@ -1452,6 +1452,10 @@ Please include the following information:
// Patch errors end.
//////////////////////////////////////////////////////////////////////////////
+ static const MessageKind WRONG_ARGUMENT_FOR_JS_INTERCEPTOR_CONSTANT =
ahe 2013/10/29 15:23:07 I'd remove this message and use MessageKind.GENERI
sra1 2013/10/29 18:00:47 I decided to keep it since there are multiple refe
+ const MessageKind(
+ "Error: Argument for 'JS_INTERCEPTOR_CONSTANT' must be a type constant.");
+
toString() => template;
Message message([Map arguments = const {}, bool terse = false]) {

Powered by Google App Engine
This is Rietveld 408576698