| 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 = ""; | 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 2118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2129 static String convertToString(value) { | 2129 static String convertToString(value) { |
| 2130 if (value is ErrorToken) { | 2130 if (value is ErrorToken) { |
| 2131 // Shouldn't happen. | 2131 // Shouldn't happen. |
| 2132 return value.assertionMessage; | 2132 return value.assertionMessage; |
| 2133 } else if (value is Token) { | 2133 } else if (value is Token) { |
| 2134 value = value.value; | 2134 value = value.value; |
| 2135 } | 2135 } |
| 2136 return '$value'; | 2136 return '$value'; |
| 2137 } | 2137 } |
| 2138 } | 2138 } |
| OLD | NEW |