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

Issue 40683002: It's a compile-time error if a const constructor call fails (Closed)

Created:
7 years, 2 months ago by hausner
Modified:
7 years, 2 months ago
Reviewers:
srdjan
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

It's a compile-time error if a const constructor call fails Making it a compile-time error if a const constructor call fails. Also improve error message when invoking dart code during compilation fails. Fixes issue 14302 R=srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=29212

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -35 lines) Patch
runtime/vm/parser.h View 1 chunk +1 line, -1 line 0 comments Download
runtime/vm/parser.cc View 12 chunks +25 lines, -28 lines 2 comments Download
tests/co19/co19-co19.status View 1 chunk +1 line, -0 lines 2 comments Download
tests/co19/co19-dart2dart.status View 1 chunk +0 lines, -1 line 0 comments Download
tests/co19/co19-dart2js.status View 1 chunk +0 lines, -1 line 0 comments Download
tests/co19/co19-dartium.status View 1 chunk +0 lines, -2 lines 0 comments Download
tests/co19/co19-runtime.status View 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
hausner
7 years, 2 months ago (2013-10-24 16:57:45 UTC) #1
srdjan
lgtm https://codereview.chromium.org/40683002/diff/1/runtime/vm/parser.cc File runtime/vm/parser.cc (left): https://codereview.chromium.org/40683002/diff/1/runtime/vm/parser.cc#oldcode108 runtime/vm/parser.cc:108: stack_trace ^= Object::Clone(stack_trace, Heap::kOld); Why not Canonicalize instead ...
7 years, 2 months ago (2013-10-24 17:03:32 UTC) #2
hausner
Thank you. https://codereview.chromium.org/40683002/diff/1/runtime/vm/parser.cc File runtime/vm/parser.cc (left): https://codereview.chromium.org/40683002/diff/1/runtime/vm/parser.cc#oldcode108 runtime/vm/parser.cc:108: stack_trace ^= Object::Clone(stack_trace, Heap::kOld); On 2013/10/24 17:03:32, ...
7 years, 2 months ago (2013-10-24 17:09:31 UTC) #3
hausner
7 years, 2 months ago (2013-10-24 21:42:50 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 manually as r29212 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698