You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We had
```
def classSymbols(implicit ctx: Context): List[ClassSymbol] =
parentSymbols(_.isClass).asInstanceOf
```
Under significant indentation, the body of the method is conceptually
a block. That causes the type parameter of `asInstanceOf` to be inferred
to `Nothing` instead of `List[ClassSymbol]`. The same effect occurs
if we enclose the body in braces (even under -noindent).
I will try to fix the type propagation fail in a separate commit.
This here is a workaround.
0 commit comments