Skip to content

Commit d638138

Browse files
dwijnandWojciechMazur
authored andcommitted
Fix HoverProvider
[Cherry-picked af81e64]
1 parent 5fa63e8 commit d638138

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

presentation-compiler/src/main/dotty/tools/pc/HoverProvider.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ object HoverProvider:
181181
findRefinement(parent)
182182
case _ => None
183183

184-
val refTpe = sel.tpe.metalsDealias match
184+
val refTpe = sel.tpe.widen.metalsDealias match
185185
case r: RefinedType => Some(r)
186186
case t: (TermRef | TypeProxy) => Some(t.termSymbol.info.metalsDealias)
187187
case _ => None

0 commit comments

Comments
 (0)