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

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

Issue 2774783002: Re-land "Format all multitests" (Closed)
Patch Set: Created 3 years, 9 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
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 use of @proxy and noSuchMethod in relation to abstract methods in 5 // Test use of @proxy and noSuchMethod in relation to abstract methods in
6 // concrete classes. 6 // concrete classes.
7 7
8 abstract class A { 8 abstract class A {
9 method6(); //# 06: static type warning 9 method6(); //# 06: static type warning
10 method7(); //# 07: static type warning 10 method7(); //# 07: static type warning
(...skipping 29 matching lines...) Expand all
40 } 40 }
41 41
42 @proxy //# 12: static type warning 42 @proxy //# 12: static type warning
43 class B { 43 class B {
44 method12(); //# 12: continued 44 method12(); //# 12: continued
45 45
46 noSuchMethod(_) => null; //# 13: ok 46 noSuchMethod(_) => null; //# 13: ok
47 method13(); //# 13: continued 47 method13(); //# 13: continued
48 } 48 }
49 49
50 class Class2 extends B { 50 class Class2 extends B {}
51 }
52 51
53 main() { 52 main() {
54 new Class1(); 53 new Class1();
55 new Class2(); 54 new Class2();
56 } 55 }
OLDNEW
« no previous file with comments | « tests/language/override_inheritance_mixed_test.dart ('k') | tests/language/parameter_default_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698