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

Issue 11548027: Implement is-checks for closures. (Closed)

Created:
8 years ago by karlklose
Modified:
8 years ago
Reviewers:
ngeoffray
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Implement is-checks for closures. BUG=dartbug.com/5022 Committed: https://code.google.com/p/dart/source/detail?r=16090

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add ClassElement.lookupBackendMember. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -17 lines) Patch
M sdk/lib/_internal/compiler/implementation/elements/elements.dart View 1 1 chunk +9 lines, -0 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart View 1 1 chunk +4 lines, -0 lines 0 comments Download
M tests/co19/co19-dart2js.status View 4 chunks +6 lines, -16 lines 0 comments Download
M tests/language/language_dart2js.status View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
karlklose
8 years ago (2012-12-12 13:24:42 UTC) #1
ngeoffray
8 years ago (2012-12-12 13:28:02 UTC) #2
LGTM

https://codereview.chromium.org/11548027/diff/1/sdk/lib/_internal/compiler/im...
File sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart (right):

https://codereview.chromium.org/11548027/diff/1/sdk/lib/_internal/compiler/im...
sdk/lib/_internal/compiler/implementation/js_backend/emitter.dart:1060: // If
[cls] is a closure, it has a synthetic call operator method.
Please add a cls.lookupBackendMember.

Powered by Google App Engine
This is Rietveld 408576698