| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 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 | 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<T> { | 5 class A<T> { |
| 6 method1(T t) => null; /// 01: ok | 6 method1(T t) => null; /// 01: ok |
| 7 method2(T t) => null; /// 02: ok | 7 method2(T t) => null; /// 02: ok |
| 8 method4(T t) => null; /// 04: static type warning | 8 method4(T t) => null; /// 04: static type warning |
| 9 method5(T t) => null; /// 05: ok | 9 method5(T t) => null; /// 05: ok |
| 10 method7(T t) => null; /// 07: static type warning | 10 method7(T t) => null; /// 07: static type warning |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 } | 63 } |
| 64 | 64 |
| 65 class SubClass extends Class { | 65 class SubClass extends Class { |
| 66 method9(double d) => null; /// 09: continued | 66 method9(double d) => null; /// 09: continued |
| 67 method10(String s) => null; /// 10: continued | 67 method10(String s) => null; /// 10: continued |
| 68 } | 68 } |
| 69 | 69 |
| 70 main() { | 70 main() { |
| 71 new SubClass(); | 71 new SubClass(); |
| 72 } | 72 } |
| OLD | NEW |