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

Objective-C class properties cause SIGILL #243

Closed
frankus opened this issue Sep 15, 2016 · 4 comments
Closed

Objective-C class properties cause SIGILL #243

frankus opened this issue Sep 15, 2016 · 4 comments
Labels

Comments

@frankus
Copy link

frankus commented Sep 15, 2016

Declaring a class property in Objective-C:

@property (class, readonly, nonatomic) Foo *shared;

and running sourcekitten (arguments of doc -objc -- -x objective-c -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.0.sdk -I /path/to/project) against it fails with a terminated by signal SIGILL (Illegal instruction) error.

@jpsim
Copy link
Owner

jpsim commented Sep 15, 2016

huh, interesting... thanks for reporting this

@jpsim jpsim added the bug label Sep 15, 2016
@jeremiegirault
Copy link
Contributor

more info here:
private func accessorUSR(getter: Bool) -> String checks for py
class properties contains a cpy tag
force unwrap causes the crash

@jeremiegirault
Copy link
Contributor

more: proposed a fix in #285

@jpsim
Copy link
Owner

jpsim commented Nov 3, 2016

Merged in #291. Thanks to @jeremiegirault and @frankus for reporting 😄

@jpsim jpsim closed this as completed Nov 3, 2016
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

3 participants