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

Issue 16959009: We have to create different locals when analyzing a closure. Otherwise the inferrer visitor might t… (Closed)

Created:
7 years, 6 months ago by ngeoffray
Modified:
7 years, 6 months ago
Reviewers:
karlklose
CC:
reviews_dartlang.org
Visibility:
Public.

Description

We have to create different locals when analyzing a closure. Otherwise the inferrer visitor might think an aborting body in a closure aborts the enclosing function. R=karlklose@google.com Committed: https://code.google.com/p/dart/source/detail?r=24181

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -19 lines) Patch
M sdk/lib/_internal/compiler/implementation/types/container_tracer.dart View 1 4 chunks +24 lines, -19 lines 0 comments Download
A tests/language/list_in_closure_test.dart View 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
ngeoffray
7 years, 6 months ago (2013-06-19 13:04:58 UTC) #1
karlklose
LGTM. https://codereview.chromium.org/16959009/diff/1/sdk/lib/_internal/compiler/implementation/types/container_tracer.dart File sdk/lib/_internal/compiler/implementation/types/container_tracer.dart (right): https://codereview.chromium.org/16959009/diff/1/sdk/lib/_internal/compiler/implementation/types/container_tracer.dart#newcode345 sdk/lib/_internal/compiler/implementation/types/container_tracer.dart:345: new ContainerTracerVisitor(function, tracer, closureLocals).run(); Would pushing the locals ...
7 years, 6 months ago (2013-06-19 13:13:13 UTC) #2
ngeoffray
Thanks Karl! https://codereview.chromium.org/16959009/diff/1/sdk/lib/_internal/compiler/implementation/types/container_tracer.dart File sdk/lib/_internal/compiler/implementation/types/container_tracer.dart (right): https://codereview.chromium.org/16959009/diff/1/sdk/lib/_internal/compiler/implementation/types/container_tracer.dart#newcode345 sdk/lib/_internal/compiler/implementation/types/container_tracer.dart:345: new ContainerTracerVisitor(function, tracer, closureLocals).run(); On 2013/06/19 13:13:13, ...
7 years, 6 months ago (2013-06-19 13:20:01 UTC) #3
ngeoffray
7 years, 6 months ago (2013-06-19 13:21:14 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r24181 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698