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

Unified Diff: compiler/java/com/google/dart/compiler/DartCompiler.java

Issue 9212008: Issue 1164: Out of date system libraries + restarted compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Nit 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
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/UrlSource.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/java/com/google/dart/compiler/DartCompiler.java
diff --git a/compiler/java/com/google/dart/compiler/DartCompiler.java b/compiler/java/com/google/dart/compiler/DartCompiler.java
index a585bb2a194e4ebb11ac3234166fcb575664346c..dfafbabbf3ce1e6ee09700af9e29c5b07d6c0390 100644
--- a/compiler/java/com/google/dart/compiler/DartCompiler.java
+++ b/compiler/java/com/google/dart/compiler/DartCompiler.java
@@ -260,7 +260,7 @@ public class DartCompiler {
}
DartUnit apiUnit = apiLib.getUnit(dartSrc.getName());
- if (apiUnit == null || (!libIsDartUri && isSourceOutOfDate(dartSrc, libSrc))) {
+ if (apiUnit == null || isSourceOutOfDate(dartSrc, libSrc)) {
DartUnit unit = parse(dartSrc, lib.getPrefixes());
if (unit != null) {
if (libNode == selfSourcePath) {
« no previous file with comments | « no previous file | compiler/java/com/google/dart/compiler/UrlSource.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698