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

Issue 10446102: Insert closure calls in conditional expression of assert (issue 1584). (Closed)

Created:
8 years, 6 months ago by regis
Modified:
8 years, 6 months ago
Reviewers:
srdjan
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Insert closure calls in conditional expression of assert (issue 1584). Committed: https://code.google.com/p/dart/source/detail?r=8164

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -9 lines) Patch
M runtime/vm/ast.h View 1 1 chunk +9 lines, -0 lines 0 comments Download
M runtime/vm/parser.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/parser.cc View 1 2 chunks +18 lines, -8 lines 0 comments Download
M tests/co19/co19-runtime.status View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
regis
8 years, 6 months ago (2012-05-31 15:02:05 UTC) #1
srdjan
LGTM with question https://chromiumcodereview.appspot.com/10446102/diff/1/runtime/vm/ast.h File runtime/vm/ast.h (right): https://chromiumcodereview.appspot.com/10446102/diff/1/runtime/vm/ast.h#newcode662 runtime/vm/ast.h:662: ASSERT(true_expr_ != NULL); Why are these ...
8 years, 6 months ago (2012-05-31 15:39:11 UTC) #2
regis
8 years, 6 months ago (2012-05-31 15:56:24 UTC) #3
Thanks!

https://chromiumcodereview.appspot.com/10446102/diff/1/runtime/vm/ast.h
File runtime/vm/ast.h (right):

https://chromiumcodereview.appspot.com/10446102/diff/1/runtime/vm/ast.h#newco...
runtime/vm/ast.h:662: ASSERT(true_expr_ != NULL);
On 2012/05/31 15:39:11, srdjan wrote:
> Why are these asserts necessary? Dop you want to check that true_expr != NULL
> instead (also below)

Yes, of course. Copy and paste error. Thanks!

Powered by Google App Engine
This is Rietveld 408576698