Closed hallerm closed 1 year ago
A typo in source code such as:
class Oops; end private_constant(&:Oops)
Will cause solargraph 0.48.0 to terminate parsing with the following error:
[Extension Host] [WARN] Error processing request: [NoMethodError] undefined method `type' for nil:NilClass console.ts:137 [Extension Host] [WARN] /opt/homebrew/lib/ruby/gems/2.6.0/gems/solargraph-0.48.0/lib/solargraph/parser/rubyvm/node_processors/send_node.rb:235:in `block in process_private_constant' /opt/homebrew/lib/ruby/gems/2.6.0/gems/solargraph-0.48.0/lib/solargraph/parser/rubyvm/node_processors/send_node.rb:234:in `each' /opt/homebrew/lib/ruby/gems/2.6.0/gems/solargraph-0.48.0/lib/solargraph/parser/rubyvm/node_processors/send_node.rb:234:in `process_private_constant'
A typo in source code such as:
Will cause solargraph 0.48.0 to terminate parsing with the following error: