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

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: 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/DartCompiler.java
diff --git a/compiler/java/com/google/dart/compiler/DartCompiler.java b/compiler/java/com/google/dart/compiler/DartCompiler.java
index a585bb2a194e4ebb11ac3234166fcb575664346c..6679db90fee15f7afbf8f567a16bf18ae30b8747 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))) {
mmendez 2012/01/13 18:19:55 Nit: could remove the braces.
codefu 2012/01/13 18:33:21 Done.
DartUnit unit = parse(dartSrc, lib.getPrefixes());
if (unit != null) {
if (libNode == selfSourcePath) {

Powered by Google App Engine
This is Rietveld 408576698