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

Issue 9836064: Stop ignoring compilation errors on compile_all (Closed)

Created:
8 years, 9 months ago by hausner
Modified:
8 years, 9 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Stop ignoring compilation errors on compile_all When compiling all code, stop compiling after the first error. Previously, we ignored compilation errors. This was a feature wish so we can detect errors in libraries. In fact, there are errors in the library, e.g. references to non-existing top-level functions in utf16 code. And possibly others. If this code gets checked in, any tests that depends on --compile_all will break. First problem: 'dart:utf': Error: line 607 pos 7: identifier 'is16BitCodeUnit' is not declared in this scope if (is16BitCodeUnit()) { ^ If I hack that, the next one is: 'dart:utf': Error: line 613 pos 9: identifier 'utf16CodeUnitsToCodepoints' is not declared in this scope utf16CodeUnitsToCodepoints(codeunits, 0, null, replacementCodepoint)); ^ Didn't investigate any more than that... Committed: https://code.google.com/p/dart/source/detail?r=5835

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -19 lines) Patch
M runtime/vm/compiler.cc View 1 1 chunk +9 lines, -19 lines 0 comments Download
M runtime/vm/object.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
hausner
8 years, 9 months ago (2012-03-23 23:09:32 UTC) #1
Mads Ager (google)
LGTM This looks great! Thanks for doing it! Do we currently have any tests on ...
8 years, 9 months ago (2012-03-23 23:21:36 UTC) #2
Mads Ager (google)
I have a codereview out to fix the utf library. After that fix all tests ...
8 years, 9 months ago (2012-03-24 00:09:19 UTC) #3
Mads Ager (google)
Anton, I have all tests passing with this on the VM at this point. Matthias ...
8 years, 9 months ago (2012-03-24 00:29:43 UTC) #4
Ivan Posva
8 years, 9 months ago (2012-03-26 15:54:39 UTC) #5
LGTM -ip

Powered by Google App Engine
This is Rietveld 408576698