Skip to content

Commit 9c9059d

Browse files
committed
Drop followAlias
It turns out we don't need it anymore. This is nice, since `followAlias` did some fairly ad-hoc rewritings.
1 parent 9efa6f7 commit 9c9059d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler/src/dotty/tools/dotc/typer/Typer.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2556,6 +2556,8 @@ class Typer extends Namer
25562556
case _ =>
25572557
NoType
25582558
}
2559+
if (true) tp
2560+
else
25592561
tp match {
25602562
case tp: TypeVar if constraint.contains(tp) =>
25612563
inst(constraint.entry(tp.origin)).orElse(tp)

0 commit comments

Comments
 (0)