Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 1346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1357 static const MessageKind MISSING_FACTORY_KEYWORD = const MessageKind( | 1357 static const MessageKind MISSING_FACTORY_KEYWORD = const MessageKind( |
| 1358 "Did you forget a factory keyword here?"); | 1358 "Did you forget a factory keyword here?"); |
| 1359 | 1359 |
| 1360 static const MessageKind NO_SUCH_METHOD_IN_NATIVE = | 1360 static const MessageKind NO_SUCH_METHOD_IN_NATIVE = |
| 1361 const MessageKind( | 1361 const MessageKind( |
| 1362 "'NoSuchMethod' is not supported for classes that extend native " | 1362 "'NoSuchMethod' is not supported for classes that extend native " |
| 1363 "classes."); | 1363 "classes."); |
| 1364 | 1364 |
| 1365 static const MessageKind DEFERRED_LIBRARY_DART_2_DART = | 1365 static const MessageKind DEFERRED_LIBRARY_DART_2_DART = |
| 1366 const MessageKind( | 1366 const MessageKind( |
| 1367 "Deferred loading is not supported by the dart backend yet." | 1367 "Deferred loading is not supported by the dart backend yet. " |
|
Anders Johnsen
2015/06/08 08:06:29
?
Johnni Winther
2015/06/08 08:42:36
Needed between '... yet.' and 'The output ...'.
| |
| 1368 "The output will not be split."); | 1368 "The output will not be split."); |
| 1369 | 1369 |
| 1370 static const MessageKind DEFERRED_LIBRARY_WITHOUT_PREFIX = | 1370 static const MessageKind DEFERRED_LIBRARY_WITHOUT_PREFIX = |
| 1371 const MessageKind( | 1371 const MessageKind( |
| 1372 "This import is deferred but there is no prefix keyword.", | 1372 "This import is deferred but there is no prefix keyword.", |
| 1373 howToFix: | 1373 howToFix: |
| 1374 "Try adding a prefix to the import."); | 1374 "Try adding a prefix to the import."); |
| 1375 | 1375 |
| 1376 static const MessageKind DEFERRED_OLD_SYNTAX = | 1376 static const MessageKind DEFERRED_OLD_SYNTAX = |
| 1377 const MessageKind( | 1377 const MessageKind( |
| (...skipping 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2588 static String convertToString(value) { | 2588 static String convertToString(value) { |
| 2589 if (value is ErrorToken) { | 2589 if (value is ErrorToken) { |
| 2590 // Shouldn't happen. | 2590 // Shouldn't happen. |
| 2591 return value.assertionMessage; | 2591 return value.assertionMessage; |
| 2592 } else if (value is Token) { | 2592 } else if (value is Token) { |
| 2593 value = value.value; | 2593 value = value.value; |
| 2594 } | 2594 } |
| 2595 return '$value'; | 2595 return '$value'; |
| 2596 } | 2596 } |
| 2597 } | 2597 } |
| OLD | NEW |