OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 library part_of_uri2; | 5 library part_of_uri2; |
6 | 6 |
7 part "part_of_uri2_part.dart"; // declares bar1, baz1, uses URI. | 7 part "part_of_uri2_part.dart"; // declares bar1, baz1, uses URI. |
8 part "part_of_uri2_part2.dart"; // declares bar2, baz2, uses id. | 8 part "part_of_uri2_part2.dart"; // declares bar2, baz2, uses id. |
9 | 9 |
10 const foo = 'foo'; | 10 const foo = 'foo'; |
11 const qux = "$baz1$baz2"; | 11 const qux = "$baz1$baz2"; |
12 | 12 |
13 main() { | 13 main() { |
14 if (!identical(qux, "foopart21foopart12")) throw "Fail: $qux"; | 14 if (!identical(qux, "foopart21foopart12")) throw "Fail: $qux"; |
15 } | 15 } |
OLD | NEW |