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

Unified Diff: compiler/java/com/google/dart/compiler/ErrorCode.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/ErrorCode.java
diff --git a/compiler/java/com/google/dart/compiler/ErrorCode.java b/compiler/java/com/google/dart/compiler/ErrorCode.java
index 4305b82f41ab6ee9dff8fd74cf7a4771be94a4fe..5662c3cb0c2776a28fe21d74e8a3be4afeeadf4a 100644
--- a/compiler/java/com/google/dart/compiler/ErrorCode.java
+++ b/compiler/java/com/google/dart/compiler/ErrorCode.java
@@ -22,4 +22,10 @@ public interface ErrorCode {
* @return the {@link SubSystem} which issued this error.
*/
SubSystem getSubSystem();
+
+ /**
+ * @return <code>true</code> if this {@link ErrorCode} should cause recompilation of the source
+ * during next incremental compilation.
+ */
+ boolean needsRecompilation();
}

Powered by Google App Engine
This is Rietveld 408576698