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

Issue 10916079: Allow access to super fields inside a closure. (Closed)

Created:
8 years, 3 months ago by ngeoffray
Modified:
8 years, 3 months ago
Reviewers:
floitsch, kasperl
CC:
reviews_dartlang.org, ahe
Visibility:
Public.

Description

Allow access to super fields inside a closure. Committed: https://code.google.com/p/dart/source/detail?r=11786

Patch Set 1 : #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -5 lines) Patch
M lib/compiler/implementation/closure.dart View 1 3 chunks +8 lines, -1 line 0 comments Download
M lib/compiler/implementation/js_backend/emitter.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M lib/compiler/implementation/ssa/codegen.dart View 1 3 chunks +7 lines, -2 lines 0 comments Download
A tests/language/closure_with_super_field_test.dart View 1 chunk +21 lines, -0 lines 0 comments Download
M tests/language/language.status View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
ngeoffray
Fixes issue 3355.
8 years, 3 months ago (2012-09-03 16:07:23 UTC) #1
floitsch
LGTM! https://chromiumcodereview.appspot.com/10916079/diff/7/lib/compiler/implementation/closure.dart File lib/compiler/implementation/closure.dart (right): https://chromiumcodereview.appspot.com/10916079/diff/7/lib/compiler/implementation/closure.dart#newcode79 lib/compiler/implementation/closure.dart:79: Element originalElement; methodElement ? It is not really ...
8 years, 3 months ago (2012-09-03 16:59:16 UTC) #2
kasperl
LGTM.
8 years, 3 months ago (2012-09-04 05:51:06 UTC) #3
ngeoffray
8 years, 3 months ago (2012-09-04 07:06:09 UTC) #4
Thanks Kasper and Florian

https://chromiumcodereview.appspot.com/10916079/diff/7/lib/compiler/implement...
File lib/compiler/implementation/closure.dart (right):

https://chromiumcodereview.appspot.com/10916079/diff/7/lib/compiler/implement...
lib/compiler/implementation/closure.dart:79: Element originalElement;
On 2012/09/03 16:59:16, floitsch wrote:
> methodElement ?
> It is not really the "original".

Done.

Powered by Google App Engine
This is Rietveld 408576698