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

Side by Side Diff: tests/language/override_inheritance_method_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 // Test static warnings for method overrides. 5 // Test static warnings for method overrides.
6 6
7 class A { 7 class A {
8 method1() => null; /// 01: ok 8 method1() => null; /// 01: ok
9 method2(a) => null; /// 02: ok 9 method2(a) => null; /// 02: ok
10 method3(a, b, c, d) => null; /// 03: ok 10 method3(a, b, c, d) => null; /// 03: ok
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 class SubClass extends Class { 92 class SubClass extends Class {
93 method31(double a) => null; /// 31: continued 93 method31(double a) => null; /// 31: continued
94 method32(String a) => null; /// 32: continued 94 method32(String a) => null; /// 32: continued
95 method33(double a) => null; /// 33: continued 95 method33(double a) => null; /// 33: continued
96 } 96 }
97 97
98 main() { 98 main() {
99 new SubClass(); 99 new SubClass();
100 } 100 }
OLDNEW
« no previous file with comments | « tests/language/override_inheritance_generic_test.dart ('k') | tests/language/override_inheritance_mixed_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698