swift
Allow implicit self in escaping closures when self usage is unlikely to cause cycle
#23934
Merged

Allow implicit self in escaping closures when self usage is unlikely to cause cycle #23934

Jumhyn
beccadax beccadax added swift evolution pending discussion
Jumhyn Jumhyn force pushed 6 years ago
gregomni
gregomni commented on 2019-07-29
Jumhyn
Jumhyn
Jumhyn commented on 2019-08-04
Jumhyn WIP implementation
1555a1f9
Jumhyn Cleanup implementation
43dd8578
Jumhyn Install backedge rather than storing array reference
1d3c2d66
Jumhyn Add diagnostics
adf6589e
Jumhyn Add missing parameter to ResultFinderForTypeContext constructor
48047259
Jumhyn Fix tests for correct fix-it language
509036a4
Jumhyn Change to solution without backedge, change lookup behavior
18b31c77
Jumhyn Improve diagnostics for weak captures and captures under different names
3b358918
Jumhyn Remove ghosts of implementations past
df5f6a1f
Jumhyn Jumhyn force pushed to df5f6a1f 6 years ago
beccadax
beccadax requested changes on 2019-08-13
beccadax
beccadax
beccadax commented on 2019-08-13
Jumhyn Address review comments
6c657fbd
Jumhyn Merge remote-tracking branch 'origin/master' into implicit-self-capture
7406101f
Jumhyn Reorder member variable initialization
638a6218
Jumhyn Fix typos
05d79f82
Jumhyn
Jumhyn Exclude value types from explicit self requirements
84f61311
beccadax
beccadax requested changes on 2019-10-02
Jumhyn Merge remote-tracking branch 'origin/master' into implicit-self-capture
a5d7da0d
Jumhyn Add tests
a7e7d199
Jumhyn
Jumhyn Add implementation for AST lookup
9eb87a5f
Jumhyn Add tests
898f6c2e
Jumhyn
Jumhyn Jumhyn requested a review from beccadax beccadax 6 years ago
Jumhyn Jumhyn changed the title Allow implicit self in escaping closures when self is explicitly captured Allow implicit self in escaping closures when self usage is unlikely to cause cycle 6 years ago
davidungar davidungar assigned davidungar davidungar 6 years ago
beccadax
beccadax
beccadax commented on 2019-10-17
davidungar
davidungar requested changes on 2019-10-17
Jumhyn
Jumhyn commented on 2019-10-17
davidungar
Jumhyn Begin addressing review comments
93be3a91
Jumhyn Re-enable AST scope lookup
fa779772
Jumhyn Merge remote-tracking branch 'origin/master' into implicit-self-capture
6ccc6d00
Jumhyn Add fixme
84363aa6
Jumhyn Pull fix-its into a separate function
89dd8425
Jumhyn Remove capturedSelfContext tracking from type property initializers
2a27245a
Jumhyn
Jumhyn Jumhyn requested a review from davidungar davidungar 6 years ago
Jumhyn Jumhyn requested a review from beccadax beccadax 6 years ago
Jumhyn
Jumhyn Add const specifiers to arguments
c897186a
Jumhyn
davidungar
davidungar requested changes on 2019-10-19
Jumhyn
davidungar
davidungar requested changes on 2019-10-19
Jumhyn
Jumhyn Address review comments
f8856f88
davidungar
davidungar approved these changes on 2019-10-20
Jumhyn Fix string literals
48f63f45
Jumhyn Refactor implicit self diagnostics
9a72c14a
Jumhyn Add comment
2806afbf
Jumhyn Remove trailing whitespace
29056109
Jumhyn Add tests for capture list across multiple lines
72466037
Jumhyn Add additional test
d191ac25
Jumhyn Fix typo
b9f95890
Jumhyn
tkremenek
tkremenek
swift-ci
swift-ci
tkremenek
swift-ci
swift-ci
Jumhyn Remove use of ?: to fix linux build
20cb90e3
DougGregor
DougGregor
DougGregor
Jumhyn Remove second use of ?:
ddd1ce8b
Jumhyn
tkremenek tkremenek removed swift evolution pending discussion
tkremenek
Jumhyn
theblixguy theblixguy added swift evolution approved
Jumhyn Merge remote-tracking branch 'origin/master' into implicit-self-capture
0b073126
theblixguy
theblixguy
theblixguy
Jumhyn
Jumhyn Rework logic for finding nested self contexts
558c942b
Jumhyn
theblixguy
theblixguy
theblixguy
Jumhyn
theblixguy
Jumhyn
beccadax
beccadax approved these changes on 2019-12-18
beccadax
Jumhyn
theblixguy
theblixguy
swift-ci
swift-ci
theblixguy
theblixguy
Jumhyn
theblixguy
Jumhyn
theblixguy
theblixguy
theblixguy
theblixguy
theblixguy theblixguy merged 71697c37 into master 6 years ago
phlegmaticprogrammer
theblixguy
Jumhyn
theblixguy
Jumhyn

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone