Skip to content
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

Swift 5.1.5 and 5.2 break observation of properties of type Any? #25

Closed
lilyball opened this issue Apr 1, 2020 · 0 comments
Closed
Assignees
Labels

Comments

@lilyball
Copy link
Collaborator

lilyball commented Apr 1, 2020

In Swift 5.1.5, the logic we use to detect whether the property is of type Any? breaks when using a recent deployment target. This wasn't detected because it produces the correct results with a deployment target of 10.9 (which the development xcodeproj has).

In Swift 5.2, this logic broke for all deployment targets, and additionally it gained an incorrect compiler warning.

Oddly enough, both compiler versions work correctly under optimization, it's just debug where it's broken.

Upstream bug filed as SR-12486.

@lilyball lilyball added the bug label Apr 1, 2020
@lilyball lilyball self-assigned this Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant