-
Notifications
You must be signed in to change notification settings - Fork 10.5k
SILGen: Don’t make class accessors transparent. #6400
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
Conversation
@swift-ci Please smoke test and merge |
91429a2
to
9e715c5
Compare
@swift-ci Please test |
@jckarter, @slavapestov Can you please take a look at that? |
Build failed |
@@ -1,5 +1,7 @@ | |||
// RUN: true | |||
|
|||
import Foundation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We want to make tests cross platform where possible. Can you split off a new test if you want to test NSObject subclasses?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a #if _runtime(_ObjC)
Because when they are inlined they might access hidden symbols in another module, like the field offset variable. fixes rdar://problem/29707641
9e715c5
to
74d979f
Compare
@swift-ci Please test |
1 similar comment
@swift-ci Please test |
Looks good, thanks for fixing this! |
Because when they are inlined they might access hidden symbols in another module, like the field offset variable.
fixes rdar://problem/29707641
@slavapestov Thanks for your help!