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

Issue 17262003: Fix type variables in closures. (Closed)

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

Description

Fix type variables in closures. BUG=dartbug.com/11258 R=johnniwinther@google.com, ngeoffray@google.com Committed: https://code.google.com/p/dart/source/detail?r=24217

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Handle is!. #

Total comments: 10

Patch Set 4 : Address Nicolas' comments. #

Total comments: 10

Patch Set 5 : Revert some changes and support as. #

Total comments: 4

Patch Set 6 : Address comments. #

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -25 lines) Patch
M sdk/lib/_internal/compiler/implementation/closure.dart View 1 2 3 4 5 6 4 chunks +15 lines, -18 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/ssa/builder.dart View 1 2 3 4 5 6 7 1 chunk +23 lines, -7 lines 0 comments Download
M sdk/lib/_internal/compiler/implementation/tree/nodes.dart View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
A tests/language/type_variable_closure_test.dart View 1 2 3 4 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
karlklose
7 years, 6 months ago (2013-06-17 14:31:15 UTC) #1
Johnni Winther
lgtm https://codereview.chromium.org/17262003/diff/2001/sdk/lib/_internal/compiler/implementation/closure.dart File sdk/lib/_internal/compiler/implementation/closure.dart (right): https://codereview.chromium.org/17262003/diff/2001/sdk/lib/_internal/compiler/implementation/closure.dart#newcode512 sdk/lib/_internal/compiler/implementation/closure.dart:512: } else if (node.isIsCheck) { Why not also ...
7 years, 6 months ago (2013-06-18 06:00:09 UTC) #2
karlklose
https://codereview.chromium.org/17262003/diff/2001/sdk/lib/_internal/compiler/implementation/closure.dart File sdk/lib/_internal/compiler/implementation/closure.dart (right): https://codereview.chromium.org/17262003/diff/2001/sdk/lib/_internal/compiler/implementation/closure.dart#newcode512 sdk/lib/_internal/compiler/implementation/closure.dart:512: } else if (node.isIsCheck) { Of course. Thanks for ...
7 years, 6 months ago (2013-06-18 07:48:23 UTC) #3
ngeoffray
DBC https://codereview.chromium.org/17262003/diff/8001/sdk/lib/_internal/compiler/implementation/closure.dart File sdk/lib/_internal/compiler/implementation/closure.dart (right): https://codereview.chromium.org/17262003/diff/8001/sdk/lib/_internal/compiler/implementation/closure.dart#newcode512 sdk/lib/_internal/compiler/implementation/closure.dart:512: } else if (node.isIsCheck || node.isIsNotCheck) { Why ...
7 years, 6 months ago (2013-06-18 08:00:43 UTC) #4
karlklose
Thanks for the comments, Nicolas. https://codereview.chromium.org/17262003/diff/8001/sdk/lib/_internal/compiler/implementation/closure.dart File sdk/lib/_internal/compiler/implementation/closure.dart (right): https://codereview.chromium.org/17262003/diff/8001/sdk/lib/_internal/compiler/implementation/closure.dart#newcode512 sdk/lib/_internal/compiler/implementation/closure.dart:512: } else if (node.isIsCheck ...
7 years, 6 months ago (2013-06-18 11:05:00 UTC) #5
ngeoffray
https://codereview.chromium.org/17262003/diff/14001/sdk/lib/_internal/compiler/implementation/closure.dart File sdk/lib/_internal/compiler/implementation/closure.dart (right): https://codereview.chromium.org/17262003/diff/14001/sdk/lib/_internal/compiler/implementation/closure.dart#newcode474 sdk/lib/_internal/compiler/implementation/closure.dart:474: // with type variable use in field initializer (in ...
7 years, 6 months ago (2013-06-18 11:14:51 UTC) #6
karlklose
https://codereview.chromium.org/17262003/diff/14001/sdk/lib/_internal/compiler/implementation/closure.dart File sdk/lib/_internal/compiler/implementation/closure.dart (right): https://codereview.chromium.org/17262003/diff/14001/sdk/lib/_internal/compiler/implementation/closure.dart#newcode474 sdk/lib/_internal/compiler/implementation/closure.dart:474: // with type variable use in field initializer (in ...
7 years, 6 months ago (2013-06-19 12:17:27 UTC) #7
ngeoffray
LGTM https://codereview.chromium.org/17262003/diff/14001/sdk/lib/_internal/compiler/implementation/ssa/builder.dart File sdk/lib/_internal/compiler/implementation/ssa/builder.dart (right): https://codereview.chromium.org/17262003/diff/14001/sdk/lib/_internal/compiler/implementation/ssa/builder.dart#newcode3257 sdk/lib/_internal/compiler/implementation/ssa/builder.dart:3257: } else if (!member.isField()) { On 2013/06/19 12:17:27, ...
7 years, 6 months ago (2013-06-19 20:03:57 UTC) #8
karlklose
https://codereview.chromium.org/17262003/diff/14001/sdk/lib/_internal/compiler/implementation/ssa/builder.dart File sdk/lib/_internal/compiler/implementation/ssa/builder.dart (right): https://codereview.chromium.org/17262003/diff/14001/sdk/lib/_internal/compiler/implementation/ssa/builder.dart#newcode3257 sdk/lib/_internal/compiler/implementation/ssa/builder.dart:3257: } else if (!member.isField()) { I changed it to ...
7 years, 6 months ago (2013-06-20 10:17:59 UTC) #9
karlklose
7 years, 6 months ago (2013-06-20 11:35:53 UTC) #10
Message was sent while issue was closed.
Committed patchset #8 manually as r24217 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698