OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 // Library used by conditional_property_assignment_test.dart, |
| 6 // conditional_property_access_test.dart, and |
| 7 // conditional_method_invocation_test.dart, all of which import it using the |
| 8 // prefix "h.". |
| 9 |
| 10 library lib; |
| 11 |
| 12 var topLevelVar; |
| 13 |
| 14 void topLevelFunction() {} |
| 15 |
| 16 class C { |
| 17 static int staticInt; |
| 18 static staticF(callback()) => callback(); |
| 19 static int staticG(int callback()) => callback(); |
| 20 } |
| 21 |
| 22 C nullC() => null; |
| 23 |
| 24 class D { |
| 25 static E staticE; |
| 26 } |
| 27 |
| 28 class E { |
| 29 G operator+(int i) => new I(); |
| 30 G operator-(int i) => new I(); |
| 31 } |
| 32 |
| 33 class F {} |
| 34 |
| 35 class G extends E implements F {} |
| 36 |
| 37 class H {} |
| 38 |
| 39 class I extends G implements H {} |
OLD | NEW |