Skip to content

Commit 085993b

Browse files
committed
undo spurious edit
1 parent 166f667 commit 085993b

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
@@ -742,8 +742,7 @@ object Types {
742742
case tp: AppliedType =>
743743
tp.tycon match {
744744
case tc: TypeRef =>
745-
if (tc.symbol.isClass) then
746-
go(tc)
745+
if (tc.symbol.isClass) go(tc)
747746
else {
748747
val normed = tp.tryNormalize
749748
go(if (normed.exists) normed else tp.superType)

0 commit comments

Comments
 (0)