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

Side by Side 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, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of dart2js; 5 part of dart2js;
6 6
7 const DONT_KNOW_HOW_TO_FIX = ""; 7 const DONT_KNOW_HOW_TO_FIX = "";
8 8
9 /** 9 /**
10 * The messages in this file should meet the following guide lines: 10 * The messages in this file should meet the following guide lines:
(...skipping 1282 matching lines...) Expand 10 before | Expand all | Expand 10 after
1293 examples: const [ 1293 examples: const [
1294 "main();"]); 1294 "main();"]);
1295 1295
1296 static const MessageKind MIRROR_BLOAT = const MessageKind( 1296 static const MessageKind MIRROR_BLOAT = const MessageKind(
1297 "Hint: #{count} methods retained for use by dart:mirrors out of #{total}" 1297 "Hint: #{count} methods retained for use by dart:mirrors out of #{total}"
1298 " total methods (#{percentage}%)."); 1298 " total methods (#{percentage}%).");
1299 1299
1300 static const MessageKind MIRROR_IMPORT = const MessageKind( 1300 static const MessageKind MIRROR_IMPORT = const MessageKind(
1301 "Info: Import of 'dart:mirrors'."); 1301 "Info: Import of 'dart:mirrors'.");
1302 1302
1303 static const MessageKind WRONG_ARGUMENT_FOR_JS_INTERCEPTOR_CONSTANT =
1304 const MessageKind(
1305 "Error: Argument for 'JS_INTERCEPTOR_CONSTANT' must be a type constant.");
1306
1303 static const MessageKind COMPILER_CRASHED = const MessageKind( 1307 static const MessageKind COMPILER_CRASHED = const MessageKind(
1304 "Error: The compiler crashed when compiling this element."); 1308 "Error: The compiler crashed when compiling this element.");
1305 1309
1306 static const MessageKind PLEASE_REPORT_THE_CRASH = const MessageKind(''' 1310 static const MessageKind PLEASE_REPORT_THE_CRASH = const MessageKind('''
1307 The compiler is broken. 1311 The compiler is broken.
1308 1312
1309 When compiling the above element, the compiler crashed. It is not 1313 When compiling the above element, the compiler crashed. It is not
1310 possible to tell if this is caused by a problem in your program or 1314 possible to tell if this is caused by a problem in your program or
1311 not. Regardless, the compiler should not crash. 1315 not. Regardless, the compiler should not crash.
1312 1316
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
1528 1532
1529 class CompileTimeConstantError extends Diagnostic { 1533 class CompileTimeConstantError extends Diagnostic {
1530 CompileTimeConstantError(MessageKind kind, Map arguments, bool terse) 1534 CompileTimeConstantError(MessageKind kind, Map arguments, bool terse)
1531 : super(kind, arguments, terse); 1535 : super(kind, arguments, terse);
1532 } 1536 }
1533 1537
1534 class CompilationError extends Diagnostic { 1538 class CompilationError extends Diagnostic {
1535 CompilationError(MessageKind kind, Map arguments, bool terse) 1539 CompilationError(MessageKind kind, Map arguments, bool terse)
1536 : super(kind, arguments, terse); 1540 : super(kind, arguments, terse);
1537 } 1541 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698