-
Notifications
You must be signed in to change notification settings - Fork 226
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
sourcekitten is crashing on my Swift project #14
Comments
Looks like |
I've pushed a fix to sourcekitten You can install sourcekitten from master by running |
Hey, thanks for your help so far! I tried out 1aa5f28, but I'm still getting a crash. Here's the new crash logs: https://gist.github.com/ndbroadbent/527839925d5384c6bebc Here's the source for |
@ndbroadbent I made a stupid mistake, printing an optional before unwrapping it. I just pushed jazzy 0.0.18 to rubygems, which should skip files that sourcekitten can't parse correctly, so your docs should build if you use that version. I'll investigate why |
Sorry, I don't think it is fixed yet. It might be easier if I add your username to our GitHub organization so you can check out the repo and reproduce. Please feel free to accept the invite and checkout https://github.com/hdwr/hdwr-ios |
Thanks for the access, @ndbroadbent! Your project proved very useful in making sourcekitten/jazzy safer since it has a lot of code, yet no documentation comments, so it hit a lot of previously untested code. Your project is properly parsed as of sourcekitten 0.2.5 and jazzy master (not pushed to rubygems yet), but as I mentioned, yields mostly empty docs since there are no documentation comments. To add docs to your project, I'd recommend you read http://nshipster.com/swift-documentation/ to learn more about Swift's documentation comment format. |
@ndbroadbent and I just fixed the crash causing Thank you very much for your help in improving jazzy/sourcekitten! PS: I just left the HDWR GitHub org. |
@jpsim thanks very much for fixing! Hehe sorry my project didn't have any documentation yet, that must have been a curveball. About to go through and add a bunch of docs now that jazzy is up and running :) Thanks again, and Merry Christmas! |
I opened an issue on Jazzy before realizing that the stack trace points to sourcekitten.
Here's the crash log: https://gist.github.com/ndbroadbent/112350ea5f4cebc6b84e
Thanks!
The text was updated successfully, but these errors were encountered: