-
Notifications
You must be signed in to change notification settings - Fork 414
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 not happy with 🍒 emoji #794
Comments
It turns out I have another file which causes a different error, but I believe it is related (it has many cherries in it). All 24 files are parsed without errors, and then I get a pile of them: |
The latest version of sourcekitten has no problem with this file. The version of sourcekitten included with jazzy does crash as you've discovered. Looks like jpsim/SourceKitten#350. |
Great news. Thanks. |
Let's keep this open until jazzy itself has the fix. I'm updating jazzy's SourceKitten binary now. |
It took me way too long to find out why my project wouldn't compile. I have emoji in other files, and they don't cause this:
'Parsing Dummy.swift (24/25)
from /Users/Alex/.rvm/gems/ruby-2.3.3/gems/jazzy-0.7.5/lib/jazzy/sourcekitten.rb:216:in
run_sourcekitten' from /Users/Alex/.rvm/gems/ruby-2.3.3/gems/jazzy-0.7.5/lib/jazzy/doc_builder.rb:67:in
block in build'from /Users/Alex/.rvm/gems/ruby-2.3.3/gems/jazzy-0.7.5/lib/jazzy/doc_builder.rb:65:in
chdir' from /Users/Alex/.rvm/gems/ruby-2.3.3/gems/jazzy-0.7.5/lib/jazzy/doc_builder.rb:65:in
build'from /Users/Alex/.rvm/gems/ruby-2.3.3/gems/jazzy-0.7.5/bin/jazzy:15:in
<top (required)>' from /Users/Alex/.rvm/gems/ruby-2.3.3/bin/jazzy:22:in
load'from /Users/Alex/.rvm/gems/ruby-2.3.3/bin/jazzy:22:in
<main>' from /Users/Alex/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in
eval'from /Users/Alex/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `
I extracted the crucial code and attached it. This file causes the above error. (I have moved on by deleting the 🍒 ) Please let me know if I should have reported this in the SourceKitten repository. I put it here because I was running jazzy.
Dummy.swift.zip
The text was updated successfully, but these errors were encountered: