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

Unified Diff: tests/compiler/dart2js/type_variable_occurrence_test.dart

Issue 2918913003: Handle list and map literals (Closed)
Patch Set: Updated cf. comments Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/compiler/dart2js/kernel/compile_from_dill_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/type_variable_occurrence_test.dart
diff --git a/tests/compiler/dart2js/type_variable_occurrence_test.dart b/tests/compiler/dart2js/type_variable_occurrence_test.dart
index 04d3ffdfcca7f9b39b27a20a8e36b959acaccc6d..11b73b261571f575fb2ee7ec6f71b2ea71785d84 100644
--- a/tests/compiler/dart2js/type_variable_occurrence_test.dart
+++ b/tests/compiler/dart2js/type_variable_occurrence_test.dart
@@ -4,11 +4,13 @@
library type_variable_occurrence_test;
+import 'package:async_helper/async_helper.dart';
+import 'package:compiler/src/elements/elements.dart' show ClassElement;
+import 'package:compiler/src/elements/resolution_types.dart';
+import 'package:compiler/src/elements/types.dart';
import 'package:expect/expect.dart';
-import "package:async_helper/async_helper.dart";
+
import 'type_test_helper.dart';
-import 'package:compiler/src/elements/resolution_types.dart';
-import "package:compiler/src/elements/elements.dart" show Element, ClassElement;
void main() {
testTypeVariableOccurrence();
@@ -61,10 +63,10 @@ testTypeVariableOccurrence() {
memberType.typeVariableOccurrence;
if (expectResult) {
Expect.isNotNull(typeVariable);
- Expect.equals(A, Types.getClassContext(memberType));
+ Expect.equals(A, DartTypes.getClassContext(memberType));
} else {
Expect.isNull(typeVariable);
- Expect.isNull(Types.getClassContext(memberType));
+ Expect.isNull(DartTypes.getClassContext(memberType));
}
}
« no previous file with comments | « tests/compiler/dart2js/kernel/compile_from_dill_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698