| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 final x = "foo"; | 5 final x = "foo"; |
| 6 final y = "foo"; | 6 final y = "foo"; |
| 7 final g1 = x | 7 final g1 = x |
| 8 + "bar" // TODO(lrn) - see below: 01: compile-time error | 8 + "bar" // TODO(lrn) - see below: 01: compile-time error |
| 9 ; | 9 ; |
| 10 final g2 = x | 10 final g2 = x |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 Expect.isTrue(g9); | 37 Expect.isTrue(g9); |
| 38 use(g1); // TODO(lrn): Should fail when String.operator+ is removed. | 38 use(g1); // TODO(lrn): Should fail when String.operator+ is removed. |
| 39 use(g2); | 39 use(g2); |
| 40 use(g3); | 40 use(g3); |
| 41 use(g4); | 41 use(g4); |
| 42 use(g5); | 42 use(g5); |
| 43 use(g6); | 43 use(g6); |
| 44 use(g7); | 44 use(g7); |
| 45 use(g8); | 45 use(g8); |
| 46 } | 46 } |
| OLD | NEW |