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

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

Issue 1254933003: Modify DEP 34 language tests in preparation for adding analyzer support. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « tests/language/mixin_super_bound2_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // VMOptions=--supermixin 4 // SharedOptions=--supermixin
5 5
6 import "package:expect/expect.dart"; 6 import "package:expect/expect.dart";
7 7
8 class MS<T> { 8 class MS<T> {
9 foo() { 9 foo() {
10 return "MS<$T>.foo\n"; 10 return "MS<$T>.foo\n";
11 } 11 }
12 } 12 }
13 13
14 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
72 "N<bool>.foo\n" 72 "N<bool>.foo\n"
73 "MNA2<int, String, bool>.foo\n", 73 "MNA2<int, String, bool>.foo\n",
74 new MNA2<int, String, bool>().foo()); 74 new MNA2<int, String, bool>().foo());
75 Expect.equals("S<List<int>>.foo\n" 75 Expect.equals("S<List<int>>.foo\n"
76 "M<Map<int, String>>.foo\n" 76 "M<Map<int, String>>.foo\n"
77 "N<bool>.foo\n" 77 "N<bool>.foo\n"
78 "MNA3<int, String, bool>.foo\n", 78 "MNA3<int, String, bool>.foo\n",
79 new MNA3<int, String, bool>().foo()); 79 new MNA3<int, String, bool>().foo());
80 } 80 }
81 81
OLDNEW
« no previous file with comments | « tests/language/mixin_super_bound2_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698