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

Unified Diff: compiler/java/com/google/dart/compiler/DartCompilerErrorCode.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/java/com/google/dart/compiler/DartCompilerErrorCode.java
diff --git a/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java b/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
index 105cf456f43f2f59d060d06d227aab94bc77a99f..87078805f1b8ce50b10c284a0fe2508290b69ad2 100644
--- a/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java
@@ -50,4 +50,9 @@ public enum DartCompilerErrorCode implements ErrorCode {
public SubSystem getSubSystem() {
return SubSystem.COMPILER;
}
+
+ @Override
+ public boolean needsRecompilation() {
+ return true;
+ }
}

Powered by Google App Engine
This is Rietveld 408576698