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

Side by Side Diff: tests/compiler/dart2js/type_order_test.dart

Issue 694353007: Move dart2js from sdk/lib/_internal/compiler to pkg/compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
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 library subtype_test; 5 library subtype_test;
6 6
7 import 'package:expect/expect.dart'; 7 import 'package:expect/expect.dart';
8 import 'package:async_helper/async_helper.dart'; 8 import 'package:async_helper/async_helper.dart';
9 import 'type_test_helper.dart'; 9 import 'type_test_helper.dart';
10 import 'package:compiler/implementation/dart_types.dart'; 10 import 'package:compiler/src/dart_types.dart';
11 import "package:compiler/implementation/elements/elements.dart" 11 import "package:compiler/src/elements/elements.dart"
12 show Element, ClassElement, TypedefElement; 12 show Element, ClassElement, TypedefElement;
13 13
14 void main() { 14 void main() {
15 asyncTest(() => TypeEnvironment.create(r""" 15 asyncTest(() => TypeEnvironment.create(r"""
16 class A<AT, AS> {} 16 class A<AT, AS> {}
17 typedef BS B<BT, BS>(BT t); 17 typedef BS B<BT, BS>(BT t);
18 class C<CT, CS> extends A<CS, CT> {} 18 class C<CT, CS> extends A<CS, CT> {}
19 class X {} 19 class X {}
20 class Y {} 20 class Y {}
21 class Z {} 21 class Z {}
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 [void_, dynamic_, 63 [void_, dynamic_,
64 A_raw, A_this, A_X_Y, A_Y_X, AT, AS, 64 A_raw, A_this, A_X_Y, A_Y_X, AT, AS,
65 B_raw, B_this, B_X_Y, B_Y_X, BT, BS, 65 B_raw, B_this, B_X_Y, B_Y_X, BT, BS,
66 C_raw, C_this, CT, CS, 66 C_raw, C_this, CT, CS,
67 X, Y, Z, 67 X, Y, Z,
68 B_this_alias, B_Y_X_alias, B_X_Y_alias, 68 B_this_alias, B_Y_X_alias, B_X_Y_alias,
69 ], 69 ],
70 Types.sorted(types)); 70 Types.sorted(types));
71 })); 71 }));
72 } 72 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/type_mask_test_helper.dart ('k') | tests/compiler/dart2js/type_representation_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698