Closed
Description
Describe the bug
A type definition breaks LSP hover.
To Reproduce
Create a file color.sw
:
tydef Color = Bool end
def black = false end
def red = true end // hover on red or true
any hover produces just:
tydef Color = Bool end
def black = false end
def red = true end
A type synonym definition.
But without the tydef
:
red: Bool
true: Bool
A boolean literal.
Expected behavior
LSP should descend into tydef
.
Screenshots
Additional context
Discovered in #2161.