Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(317)

Side by Side Diff: tests/language/override_inheritance_generic_test.dart

Issue 152593002: Version 1.2.0-dev.3.1 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « tests/language/override_inheritance_field_test.dart ('k') | tests/language/override_inheritance_method_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698