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

Unified Diff: compiler/javatests/com/google/dart/compiler/parser/AbstractParserTest.java

Issue 9148026: Recompile unit with potential conflict/dependency on some top-level symbol. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix for compiling corelib, so NPE in TreeShaker Created 8 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
Index: compiler/javatests/com/google/dart/compiler/parser/AbstractParserTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/parser/AbstractParserTest.java b/compiler/javatests/com/google/dart/compiler/parser/AbstractParserTest.java
index cb49d74204c02bade8ecc827068f168a1ef707fb..7bc8f840c1e74a502b95a790580c2fdb20dd1a57 100644
--- a/compiler/javatests/com/google/dart/compiler/parser/AbstractParserTest.java
+++ b/compiler/javatests/com/google/dart/compiler/parser/AbstractParserTest.java
@@ -158,8 +158,8 @@ public abstract class AbstractParserTest extends CompilerTestCase {
@Override
protected DartParser makeParser(ParserContext context) {
- Set<String> set = new HashSet<String>();
- set.add("prefix");
- return new DartParser(context, set);
+ Set<String> prefixes = new HashSet<String>();
+ prefixes.add("prefix");
+ return new DartParser(context, prefixes, false);
}
}

Powered by Google App Engine
This is Rietveld 408576698