solargraph icon indicating copy to clipboard operation
solargraph copied to clipboard

`textDocument/references` misses reference for `initialize`

Open toan2406 opened this issue 4 years ago • 1 comments

class A
  def initialize() # trigger references for A#initialize
  end
end

class B < A
  def initialize()
    super()
  end
end

Result from solargraph 0.44.3

Screen Shot 2022-04-26 at 17 49 58

Expectation

The references should include super() from line 8.

toan2406 avatar Apr 26 '22 11:04 toan2406

I agree, including the super() in references would be awesome. Adding it to the roadmap.

castwide avatar Aug 14 '22 06:08 castwide