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

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

Issue 1635763003: Restore old supermixin functionality to shared language tests. Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 // SharedOptions=--supermixin
4 5
5 import "package:expect/expect.dart"; 6 import "package:expect/expect.dart";
6 7
7 class MS<T> { 8 class MS<T> {
8 foo() { 9 foo() {
9 return "MS<$T>.foo\n"; 10 return "MS<$T>.foo\n";
10 } 11 }
11 } 12 }
12 13
13 class M<T> extends MS<List<T>> { 14 class M<T> extends MS<List<T>> {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 "N<bool>.foo\n" 72 "N<bool>.foo\n"
72 "MNA2<int, String, bool>.foo\n", 73 "MNA2<int, String, bool>.foo\n",
73 new MNA2<int, String, bool>().foo()); 74 new MNA2<int, String, bool>().foo());
74 Expect.equals("S<List<int>>.foo\n" 75 Expect.equals("S<List<int>>.foo\n"
75 "M<Map<int, String>>.foo\n" 76 "M<Map<int, String>>.foo\n"
76 "N<bool>.foo\n" 77 "N<bool>.foo\n"
77 "MNA3<int, String, bool>.foo\n", 78 "MNA3<int, String, bool>.foo\n",
78 new MNA3<int, String, bool>().foo()); 79 new MNA3<int, String, bool>().foo());
79 } 80 }
80 81
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698