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

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

Issue 839063002: Handle platform access through prefix in dart2dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments + fix bug for named arguments. Created 5 years, 11 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 | « pkg/compiler/lib/src/dart_backend/renamer.dart ('k') | tests/language/regress_21998_1_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/mirror_helper_test.dart
diff --git a/tests/compiler/dart2js/mirror_helper_test.dart b/tests/compiler/dart2js/mirror_helper_test.dart
index f9e1647ae45df11ceadc6680fa3f2ae2f4df8100..e454c7e601bdd0f1f699459255871de1fef3d3bc 100644
--- a/tests/compiler/dart2js/mirror_helper_test.dart
+++ b/tests/compiler/dart2js/mirror_helper_test.dart
@@ -43,8 +43,8 @@ void testWithMirrorRenaming({bool minify}) {
DartBackend backend = compiler.backend;
MirrorRenamerImpl mirrorRenamer = backend.mirrorRenamer;
Map<Node, String> renames = backend.placeholderRenamer.renames;
- Set<LibraryElement> imports =
- backend.placeholderRenamer.platformImports;
+ Iterable<LibraryElement> imports =
+ backend.placeholderRenamer.platformImports.keys;
FunctionExpression node = backend.memberNodes.values.first.first;
Block block = node.body;
@@ -65,8 +65,8 @@ void testWithoutMirrorRenaming({bool minify}) {
DartBackend backend = compiler.backend;
Map<Node, String> renames = backend.placeholderRenamer.renames;
- Set<LibraryElement> imports =
- backend.placeholderRenamer.platformImports;
+ Iterable<LibraryElement> imports =
+ backend.placeholderRenamer.platformImports.keys;
FunctionExpression node = backend.memberNodes.values.first.first;
Block block = node.body;
ExpressionStatement getNameFunctionNode = block.statements.nodes.head;
« no previous file with comments | « pkg/compiler/lib/src/dart_backend/renamer.dart ('k') | tests/language/regress_21998_1_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698