| 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 | 5 |
| 6 /** | 6 /** |
| 7 * The messages in this file should meet the following guide lines: | 7 * The messages in this file should meet the following guide lines: |
| 8 * | 8 * |
| 9 * 1. The message should be a complete sentence starting with an uppercase | 9 * 1. The message should be a complete sentence starting with an uppercase |
| 10 * letter, and ending with a period. | 10 * letter, and ending with a period. |
| (...skipping 3332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3343 static String convertToString(value) { | 3343 static String convertToString(value) { |
| 3344 if (value is ErrorToken) { | 3344 if (value is ErrorToken) { |
| 3345 // Shouldn't happen. | 3345 // Shouldn't happen. |
| 3346 return value.assertionMessage; | 3346 return value.assertionMessage; |
| 3347 } else if (value is Token) { | 3347 } else if (value is Token) { |
| 3348 value = value.value; | 3348 value = value.value; |
| 3349 } | 3349 } |
| 3350 return '$value'; | 3350 return '$value'; |
| 3351 } | 3351 } |
| 3352 } | 3352 } |
| OLD | NEW |