Skip to content

Conversation

jckarter
Copy link
Contributor

Explanation: The compiler would crash in situations where code captured [weak self] in a closure inside a class method returning dynamic Self.

Scope of issue: Regression from Swift 3.x

Issue: rdar://problem/34563466.

Risk: Low. Small, targeted bug fix.

Testing: Swift CI, compatibility suite, project from Radar

…pture parameter for it.

Fixes rdar://problem/34563466.
@jckarter
Copy link
Contributor Author

@swift-ci Please test

@jckarter
Copy link
Contributor Author

@swift-ci Please test source compatibility

@jckarter
Copy link
Contributor Author

@slavapestov Mind reviewing this for the 4.0 branch?

Copy link
Contributor

@slavapestov slavapestov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jckarter
Copy link
Contributor Author

@swift-ci Please test source compatibility

@jckarter jckarter merged commit cf73ead into swiftlang:swift-4.0-branch Sep 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants