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

Side by Side Diff: pkg/compiler/lib/src/warnings.dart

Issue 897243003: dart2js: remove (broken) support for nsm on native classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove whitespace Created 5 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 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 = "Computer says no!"; 7 const DONT_KNOW_HOW_TO_FIX = "Computer says no!";
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 1253 matching lines...) Expand 10 before | Expand all | Expand 10 after
1264 static const MessageKind ASSERT_IS_GIVEN_NAMED_ARGUMENTS = const MessageKind( 1264 static const MessageKind ASSERT_IS_GIVEN_NAMED_ARGUMENTS = const MessageKind(
1265 "'assert' takes no named arguments, but given #{argumentCount}."); 1265 "'assert' takes no named arguments, but given #{argumentCount}.");
1266 1266
1267 static const MessageKind FACTORY_REDIRECTION_IN_NON_FACTORY = 1267 static const MessageKind FACTORY_REDIRECTION_IN_NON_FACTORY =
1268 const MessageKind( 1268 const MessageKind(
1269 "Factory redirection only allowed in factories."); 1269 "Factory redirection only allowed in factories.");
1270 1270
1271 static const MessageKind MISSING_FACTORY_KEYWORD = const MessageKind( 1271 static const MessageKind MISSING_FACTORY_KEYWORD = const MessageKind(
1272 "Did you forget a factory keyword here?"); 1272 "Did you forget a factory keyword here?");
1273 1273
1274 static const MessageKind NO_SUCH_METHOD_IN_NATIVE =
1275 const MessageKind(
1276 "'NoSuchMethod' is not supported for classes that extend native "
1277 "classes.");
1278
1274 static const MessageKind DEFERRED_LIBRARY_DART_2_DART = 1279 static const MessageKind DEFERRED_LIBRARY_DART_2_DART =
1275 const MessageKind( 1280 const MessageKind(
1276 "Deferred loading is not supported by the dart backend yet." 1281 "Deferred loading is not supported by the dart backend yet."
1277 "The output will not be split."); 1282 "The output will not be split.");
1278 1283
1279 static const MessageKind DEFERRED_LIBRARY_WITHOUT_PREFIX = 1284 static const MessageKind DEFERRED_LIBRARY_WITHOUT_PREFIX =
1280 const MessageKind( 1285 const MessageKind(
1281 "This import is deferred but there is no prefix keyword.", 1286 "This import is deferred but there is no prefix keyword.",
1282 howToFix: 1287 howToFix:
1283 "Try adding a prefix to the import."); 1288 "Try adding a prefix to the import.");
(...skipping 1153 matching lines...) Expand 10 before | Expand all | Expand 10 after
2437 static String convertToString(value) { 2442 static String convertToString(value) {
2438 if (value is ErrorToken) { 2443 if (value is ErrorToken) {
2439 // Shouldn't happen. 2444 // Shouldn't happen.
2440 return value.assertionMessage; 2445 return value.assertionMessage;
2441 } else if (value is Token) { 2446 } else if (value is Token) {
2442 value = value.value; 2447 value = value.value;
2443 } 2448 }
2444 return '$value'; 2449 return '$value';
2445 } 2450 }
2446 } 2451 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/resolution/members.dart ('k') | tests/compiler/dart2js_native/dart2js_native.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698