-
Notifications
You must be signed in to change notification settings - Fork 8
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
Overly sensitive to startup? #36
Comments
Could you give me the project which you opened? |
Literally any project will do (note that this is using Atom). You just
have to start typing before all the parsing is done. Then when the parsing
is finished the next character you type will cause it to blow up.
If you must have a named project, this one will do fine. This is 100%
repeatable.
…On Sat, Oct 21, 2017 at 6:38 AM, Fumiaki MATSUSHIMA < ***@***.***> wrote:
Could you give me the project which you opened?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABbGKcrFMItyZLytP7x7HGBa2GBczIzks5sufPjgaJpZM4QA9bC>
.
|
I can reproduce this inside this repository. I tried to go to definition with /usr/local/lib/ruby/gems/2.5.0/gems/language_server-0.11.0/lib/language_server/project.rb:15:in `find_definitions': undefined method `refs' for nil:NilClass (NoMethodError)
from /usr/local/lib/ruby/gems/2.5.0/gems/language_server-0.11.0/lib/language_server/definition_provider/ad_hoc.rb:12:in `call'
from /usr/local/lib/ruby/gems/2.5.0/gems/language_server-0.11.0/lib/language_server.rb:157:in `each'
from /usr/local/lib/ruby/gems/2.5.0/gems/language_server-0.11.0/lib/language_server.rb:157:in `flat_map'
from /usr/local/lib/ruby/gems/2.5.0/gems/language_server-0.11.0/lib/language_server.rb:157:in `block in <module:LanguageServer>'
from /usr/local/lib/ruby/gems/2.5.0/gems/language_server-0.11.0/lib/language_server.rb:47:in `block in run'
from /usr/local/lib/ruby/gems/2.5.0/gems/language_server-protocol-0.5.0/lib/language_server/protocol/transport/stdio/reader.rb:27:in `read'
from /usr/local/lib/ruby/gems/2.5.0/gems/language_server-0.11.0/lib/language_server.rb:38:in `run'
from /usr/local/lib/ruby/gems/2.5.0/gems/language_server-0.11.0/exe/language_server-ruby:30:in `<top (required)>'
from /usr/local/bin/language_server-ruby:23:in `load'
from /usr/local/bin/language_server-ruby:23:in `<main>' Note that I didn't edit the the file before sending the definition request. |
@ggilmore |
I sometimes get the following when starting up. It may depend on cursor context & timing.
The text was updated successfully, but these errors were encountered: