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

Unified Diff: compiler/java/com/google/dart/compiler/DefaultDartArtifactProvider.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: Rebase and merge 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/DefaultDartArtifactProvider.java
diff --git a/compiler/java/com/google/dart/compiler/DefaultDartArtifactProvider.java b/compiler/java/com/google/dart/compiler/DefaultDartArtifactProvider.java
index 42efa0aa68c0075d88fbe7403db5d7769775f72d..b7058a7622635e1064fef0ba062a1497b6f80d52 100644
--- a/compiler/java/com/google/dart/compiler/DefaultDartArtifactProvider.java
+++ b/compiler/java/com/google/dart/compiler/DefaultDartArtifactProvider.java
@@ -81,7 +81,7 @@ public class DefaultDartArtifactProvider extends DartArtifactProvider {
}
}
File artifactFile = getArtifactFile(base, "", extension);
- return artifactFile.lastModified() < source.getLastModified();
+ return !artifactFile.exists() || artifactFile.lastModified() < source.getLastModified();
}
// TODO(jbrosenberg): remove 'source' argument from this method, it's not used

Powered by Google App Engine
This is Rietveld 408576698