Skip to content

[4.0] Yet more targeted fixes #9009

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

Conversation

DougGregor
Copy link
Member

Two unrelated fixes here:

  • Fix rethrow checking harder
  • Fix bridging cast optimization

My original fix for rdar://problem/31794932 didn't work for generic
functions because it was checking in the unsubstituted interface
type. Check structurally instead. Fixes rdar://problem/31794932.

(cherry picked from commit dd96aee)
…cast.

Handle a class downcast following a bridging cast. Fixes
rdar://problem/31791421.
@DougGregor DougGregor merged commit 920e4bb into swiftlang:swift-4.0-branch Apr 25, 2017
@DougGregor DougGregor deleted the casts-and-errors-4.0 branch April 25, 2017 21:00
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.

1 participant