Skip to content

Commit 962c28e

Browse files
olhotaknoti0na1
authored andcommitted
undo spurious edit
1 parent dd1ef9f commit 962c28e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler/src/dotty/tools/dotc/core/Types.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -752,8 +752,7 @@ object Types {
752752
case tp: AppliedType =>
753753
tp.tycon match {
754754
case tc: TypeRef =>
755-
if (tc.symbol.isClass) then
756-
go(tc)
755+
if (tc.symbol.isClass) go(tc)
757756
else {
758757
val normed = tp.tryNormalize
759758
go(if (normed.exists) normed else tp.superType)

0 commit comments

Comments
 (0)