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

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

Issue 1383923002: Remove --supermixin flag from VM. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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') | tests/language/mixin_super_use_test.dart » ('j') | 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 // SharedOptions=--supermixin
5 4
6 import "package:expect/expect.dart"; 5 import "package:expect/expect.dart";
7 6
8 class MS<T> { 7 class MS<T> {
9 foo() { 8 foo() {
10 return "MS<$T>.foo\n"; 9 return "MS<$T>.foo\n";
11 } 10 }
12 } 11 }
13 12
14 class M<T> extends MS<List<T>> { 13 class M<T> extends MS<List<T>> {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 "N<bool>.foo\n" 71 "N<bool>.foo\n"
73 "MNA2<int, String, bool>.foo\n", 72 "MNA2<int, String, bool>.foo\n",
74 new MNA2<int, String, bool>().foo()); 73 new MNA2<int, String, bool>().foo());
75 Expect.equals("S<List<int>>.foo\n" 74 Expect.equals("S<List<int>>.foo\n"
76 "M<Map<int, String>>.foo\n" 75 "M<Map<int, String>>.foo\n"
77 "N<bool>.foo\n" 76 "N<bool>.foo\n"
78 "MNA3<int, String, bool>.foo\n", 77 "MNA3<int, String, bool>.foo\n",
79 new MNA3<int, String, bool>().foo()); 78 new MNA3<int, String, bool>().foo());
80 } 79 }
81 80
OLDNEW
« no previous file with comments | « tests/language/mixin_super_bound2_test.dart ('k') | tests/language/mixin_super_use_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698