| 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'); | |
| 6 | 5 |
| 7 #source('source_mapping_crash_source.dart'); | 6 abstract class Filter { |
| 7 Future<List<int>> process(List<int> data); |
| 8 | 8 |
| 9 class Sub extends Super { | 9 // FIXME: Rename to 'done'? |
| 10 Sub(var x) : super(x.y); | 10 void end(); |
| 11 } | 11 } |
| 12 | 12 |
| 13 class X { var y; } | 13 class ZLibFilter implements Filter { |
| 14 factory ZLibFilter() => new _ZLibFilterImpl(); |
| 15 } |
| 14 | 16 |
| 15 main() { | |
| 16 new Sub(new X()); | |
| 17 } | |
| OLD | NEW |