Skip to content

Fix trivial bug in callee analysis: thin functions aren't necessarily function refs. #12013

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 20, 2017

Conversation

eeckstein
Copy link
Contributor

Explanation: This fixes a compiler crash when a thin function, which is not function reference, is converted to a thick function (a closure).

Scope of Issue: This is a rare case, but we have seen it in real world code

Risk: Low.

Reviewed By: Erik (The original fix is from John: #11893)

Testing: There is a regression test for it

Radar: rdar://problem/34498887

@eeckstein
Copy link
Contributor Author

@swift-ci Please test

@eeckstein eeckstein merged commit 5fb550e into swiftlang:swift-4.0-branch Sep 20, 2017
@eeckstein eeckstein deleted the fix-bca-4.0 branch September 20, 2017 17:18
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