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 // No library declaration | 5 // No library declaration |
6 part "part_of_uri_part.dart"; // declares bar1, baz1 | 6 part "part_of_uri_part.dart"; // declares bar1, baz1 |
7 part "part_of_uri_part2.dart"; // declares bar2, baz2 | 7 part "part_of_uri_part2.dart"; // declares bar2, baz2 |
8 | 8 |
9 const foo = 'foo'; | 9 const foo = 'foo'; |
10 const qux = "$baz1$baz2"; | 10 const qux = "$baz1$baz2"; |
11 | 11 |
12 main() { | 12 main() { |
13 if (!identical(qux, "foopart21foopart12")) throw "Fail: $qux"; | 13 if (!identical(qux, "foopart21foopart12")) throw "Fail: $qux"; |
14 } | 14 } |
OLD | NEW |