We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1758a6 commit af81e64Copy full SHA for af81e64
presentation-compiler/src/main/dotty/tools/pc/HoverProvider.scala
@@ -181,7 +181,7 @@ object HoverProvider:
181
findRefinement(parent)
182
case _ => None
183
184
- val refTpe = sel.tpe.metalsDealias match
+ val refTpe = sel.tpe.widen.metalsDealias match
185
case r: RefinedType => Some(r)
186
case t: (TermRef | TypeProxy) => Some(t.termSymbol.info.metalsDealias)
187
0 commit comments