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

Issue 916403002: cps2js: Fix translation of captured 'this'. (Closed)

Created:
5 years, 10 months ago by asgerf
Modified:
5 years, 10 months ago
Reviewers:
karlklose
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

cps2js: Fix translation of captured 'this'. Building the constructor call for a closure that captures 'this' would fail because the ThisLocal is not bound in the enclosing environment. BUG= R=karlklose@google.com Committed: https://code.google.com/p/dart/source/detail?r=43945

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -1 line) Patch
M pkg/compiler/lib/src/cps_ir/cps_ir_builder.dart View 1 chunk +6 lines, -1 line 0 comments Download
M tests/compiler/dart2js/js_backend_cps_ir_closures_test.dart View 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
asgerf
5 years, 10 months ago (2015-02-12 09:57:22 UTC) #2
karlklose
LGTM.
5 years, 10 months ago (2015-02-12 12:48:37 UTC) #3
asgerf
5 years, 10 months ago (2015-02-23 09:38:33 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 43945 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698