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 #library('source_mapping_crash_test'); | 5 library source_mapping_crash_test; |
6 | 6 |
7 #source('source_mapping_crash_source.dart'); | 7 part 'source_mapping_crash_source.dart'; |
8 | 8 |
9 class Sub extends Super { | 9 class Sub extends Super { |
10 Sub(var x) : super(x.y); | 10 Sub(var x) : super(x.y); |
11 } | 11 } |
12 | 12 |
13 class X { var y; } | 13 class X { var y; } |
14 | 14 |
15 main() { | 15 main() { |
16 new Sub(new X()); | 16 new Sub(new X()); |
17 } | 17 } |
OLD | NEW |