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

Side by Side Diff: tests/language_2/generics_test.dart

Issue 3001803002: Migrate block 114 (and some of 113). (Closed)
Patch Set: Tweak app_jit status. Created 3 years, 3 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_2/generics3_test.dart ('k') | tests/language_2/get_set_syntax_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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 // Dart test for generic types. 4 // Dart test for generic types.
5 5
6 import "package:expect/expect.dart"; 6 import "package:expect/expect.dart";
7 7
8 class GenericsTest<T, V> implements Map<int, int> { 8 class GenericsTest<T, V> implements Map<int, int> {
9 static int myFunc(bool a, bool b) { 9 static int myFunc(bool a, bool b) {
10 Expect.equals(true, a); 10 Expect.equals(true, a);
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 LongGeneric<String, A, LongGeneric<C, List<E>, Map<G, Map<I, J>>>> id; 44 LongGeneric<String, A, LongGeneric<C, List<E>, Map<G, Map<I, J>>>> id;
45 45
46 LongGeneric<num, Map<int, int>, 46 LongGeneric<num, Map<int, int>,
47 LongGeneric<C, List<E>, Map<G, LongGeneric<I, J, List<A>>>>> id2; 47 LongGeneric<C, List<E>, Map<G, LongGeneric<I, J, List<A>>>>> id2;
48 } 48 }
49 } 49 }
50 50
51 main() { 51 main() {
52 GenericsTest.testMain(); 52 GenericsTest.testMain();
53 } 53 }
OLDNEW
« no previous file with comments | « tests/language_2/generics3_test.dart ('k') | tests/language_2/get_set_syntax_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698