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

Issue 9212008: Issue 1164: Out of date system libraries + restarted compiler (Closed)

Created:
8 years, 11 months ago by codefu
Modified:
8 years, 11 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Issue 1164: Out of date system libraries + restarted compiler http://code.google.com/p/dart/issues/detail?id=1164 When the compiler fails to complete compilation, and the system libraries are not bundled, it will fail to recompile the missing elements. This was only a problem in the DartEditor and running DartC from an eclipse environment. Please note that there still exists a condition if you are running DartC from eclipse and have system libraries, without precompiled artifacts, in a jar file. I will file a separate bug for that. R=mmendez,brianwilkerson@google.com,danrubel BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=3301

Patch Set 1 #

Total comments: 3

Patch Set 2 : Nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M compiler/java/com/google/dart/compiler/DartCompiler.java View 1 1 chunk +1 line, -1 line 0 comments Download
M compiler/java/com/google/dart/compiler/UrlSource.java View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
codefu
8 years, 11 months ago (2012-01-13 18:14:48 UTC) #1
mmendez
lgtm http://codereview.chromium.org/9212008/diff/1/compiler/java/com/google/dart/compiler/DartCompiler.java File compiler/java/com/google/dart/compiler/DartCompiler.java (right): http://codereview.chromium.org/9212008/diff/1/compiler/java/com/google/dart/compiler/DartCompiler.java#newcode263 compiler/java/com/google/dart/compiler/DartCompiler.java:263: if (apiUnit == null || (isSourceOutOfDate(dartSrc, libSrc))) { ...
8 years, 11 months ago (2012-01-13 18:19:54 UTC) #2
Brian Wilkerson
LGTM
8 years, 11 months ago (2012-01-13 18:25:46 UTC) #3
codefu
8 years, 11 months ago (2012-01-13 18:33:21 UTC) #4
http://codereview.chromium.org/9212008/diff/1/compiler/java/com/google/dart/c...
File compiler/java/com/google/dart/compiler/DartCompiler.java (right):

http://codereview.chromium.org/9212008/diff/1/compiler/java/com/google/dart/c...
compiler/java/com/google/dart/compiler/DartCompiler.java:263: if (apiUnit ==
null || (isSourceOutOfDate(dartSrc, libSrc))) {
On 2012/01/13 18:19:55, mmendez wrote:
> Nit: could remove the braces.

Done.

Powered by Google App Engine
This is Rietveld 408576698