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

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

Issue 263103003: Remove warnings from dart2js test-suite. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove debug code. Created 6 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
Index: tests/compiler/dart2js/mirror_helper_unique_minification_test.dart
diff --git a/tests/compiler/dart2js/mirror_helper_unique_minification_test.dart b/tests/compiler/dart2js/mirror_helper_unique_minification_test.dart
index e72f98afb7324a8d39e898282b0bd987099cc014..5a74894f434bc75d9703466bd7968a91ca97ac81 100644
--- a/tests/compiler/dart2js/mirror_helper_unique_minification_test.dart
+++ b/tests/compiler/dart2js/mirror_helper_unique_minification_test.dart
@@ -14,8 +14,7 @@ show
DartBackend;
import
'../../../sdk/lib/_internal/compiler/implementation/tree/tree.dart'
-show
- Node, Identifier;
+show Identifier, Node, Send;
import
'../../../sdk/lib/_internal/compiler/implementation/mirror_renamer/mirror_renamer.dart'
show
@@ -53,7 +52,8 @@ void testUniqueMinification() {
Identifier identifier = node.asIdentifier();
if (identifier != null) {
String source = identifier.source;
- if (mirrorRenamer.mirrorSystemGetNameNodes.first.selector == node)
+ Send send = mirrorRenamer.mirrorSystemGetNameNodes.first;
+ if (send.selector == node)
continue;
if (symbols.containsKey(renames[node])) {
print(node);
« no previous file with comments | « tests/compiler/dart2js/mirror_helper_test.dart ('k') | tests/compiler/dart2js/mirror_tree_shaking_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698