OLD | NEW |
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 class A extends Missing {} | 5 class A extends Missing {} |
| 6 |
6 class B implements Missing {} | 7 class B implements Missing {} |
| 8 |
7 class C = Object with Missing; | 9 class C = Object with Missing; |
8 | 10 |
9 class D { | 11 class D { |
10 factory D() = Missing; | 12 factory D() = Missing; |
11 } | 13 } |
12 | 14 |
13 void main() { | 15 void main() { |
14 new A(); | 16 new A(); |
15 new B(); | 17 new B(); |
16 new C(); | 18 new C(); |
17 new D(); | 19 new D(); |
18 } | 20 } |
OLD | NEW |