Skip to content

Commit 6a65557

Browse files
olhotaknoti0na1
authored andcommitted
undo spurious edit
1 parent af89b6d commit 6a65557

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
@@ -758,8 +758,7 @@ object Types {
758758
case tp: AppliedType =>
759759
tp.tycon match {
760760
case tc: TypeRef =>
761-
if (tc.symbol.isClass) then
762-
go(tc)
761+
if (tc.symbol.isClass) go(tc)
763762
else {
764763
val normed = tp.tryNormalize
765764
go(if (normed.exists) normed else tp.superType)

0 commit comments

Comments
 (0)