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

Unified Diff: compiler/java/com/google/dart/compiler/backend/js/JsErrorCode.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/backend/js/JsErrorCode.java
diff --git a/compiler/java/com/google/dart/compiler/backend/js/JsErrorCode.java b/compiler/java/com/google/dart/compiler/backend/js/JsErrorCode.java
index b429724f3669c4910c96bde9b747f1ca807fbd49..abdde376fbc8754473a287c9723f79884fd1ae82 100644
--- a/compiler/java/com/google/dart/compiler/backend/js/JsErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/backend/js/JsErrorCode.java
@@ -41,4 +41,9 @@ public enum JsErrorCode implements ErrorCode {
public SubSystem getSubSystem() {
return SubSystem.JS_BACKEND;
}
+
+ @Override
+ public boolean needsRecompilation() {
+ return true;
+ }
}

Powered by Google App Engine
This is Rietveld 408576698