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

Issue 2689543002: Fasta: Change BodyBuilder.buildCompileTimeError to throw an instance of _CompileTimeError. (Closed)

Created:
3 years, 10 months ago by Vyacheslav Egorov (Google)
Modified:
3 years, 8 months ago
Reviewers:
ahe
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fasta: Change BodyBuilder.buildCompileTimeError to throw an instance of _CompileTimeError. This is a VM specific class that is recognized by exception handling code in VM. Using this class instead of string guarantees that VM terminates with the correct exit code: kCompilationErrorExitCode (254) and not kErrorExitCode (255). BUG= R=ahe@google.com Committed: https://github.com/dart-lang/sdk/commit/5e09ca8d97c2b433c8ae45fcdcdcd11bd58ef3e3

Patch Set 1 #

Total comments: 1

Patch Set 2 : Done #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M pkg/front_end/lib/src/fasta/kernel/body_builder.dart View 1 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 5 (2 generated)
Vyacheslav Egorov (Google)
PTAL With this we pass 300 tests more in -c dartk --use-fasta configuration (from ~1000 ...
3 years, 10 months ago (2017-02-09 15:55:23 UTC) #2
ahe
lgtm Thank you! https://codereview.chromium.org/2689543002/diff/1/pkg/front_end/lib/src/fasta/kernel/body_builder.dart File pkg/front_end/lib/src/fasta/kernel/body_builder.dart (right): https://codereview.chromium.org/2689543002/diff/1/pkg/front_end/lib/src/fasta/kernel/body_builder.dart#newcode2189 pkg/front_end/lib/src/fasta/kernel/body_builder.dart:2189: final Constructor constructor = coreTypes.getCoreClass( Could ...
3 years, 10 months ago (2017-02-09 16:03:21 UTC) #3
Vyacheslav Egorov (Google)
3 years, 10 months ago (2017-02-09 16:13:52 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
5e09ca8d97c2b433c8ae45fcdcdcd11bd58ef3e3 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698