OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2014, 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 subclass; |
| 6 |
| 7 import 'interesting.dart'; |
| 8 |
| 9 import 'private.dart' as p; |
| 10 |
| 11 class S extends p.P { |
| 12 superMethod1() { |
| 13 } |
| 14 superMethod2() { |
| 15 } |
| 16 static staticSuperMethod1() { |
| 17 } |
| 18 static staticSuperMethod2() { |
| 19 } |
| 20 } |
| 21 |
| 22 class C extends S { |
| 23 instanceMethod1() { |
| 24 } |
| 25 instanceMethod2() { |
| 26 } |
| 27 static staticMethod1() { |
| 28 } |
| 29 static staticMethod2() { |
| 30 } |
| 31 } |
| 32 |
| 33 main() {} |
OLD | NEW |