-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Use interface types when checking #keyPath. #7028
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
Use interface types when checking #keyPath. #7028
Conversation
@swift-ci Please test |
@slavapestov, is there a good way to find out if we have more of these mistakes? |
Build failed |
This avoids a crash when the path refers to a property in another Swift module. https://bugs.swift.org/browse/SR-3714
2318d79
to
a06bc15
Compare
@swift-ci Please test |
Build failed |
Build failed |
Take away |
(this LGTM, by the way) |
This failed on a mangling test that (IIRC) is failing elsewhere; unfortunately the bots are now being upgraded. |
@jrose-apple Add Or as Doug said, scrap this whole thing altogether, maybe add a LocalVarDecl subclass of VarDecl and move getType() there. |
@swift-ci Please test macOS |
Build failed |
Jenkins Java error, but the testing did actually finish, as evidenced by the smoke test label being fine. Merging. |
This avoids a crash when the path refers to a property in another Swift module. https://bugs.swift.org/browse/SR-3714
…-types Use interface types when checking #keyPath. (#7028)
This avoids a crash when the path refers to a property in another Swift module.
SR-3714