Skip to content

Commit 9f2a801

Browse files
committed
Drop widenSkolems
Does not seem to be needed anymore
1 parent 01f4e0b commit 9f2a801

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,9 +303,6 @@ object Phases {
303303
/** If set, implicit search is enabled */
304304
def allowsImplicitSearch: Boolean = false
305305

306-
/** If set equate Skolem types with underlying types */
307-
def widenSkolems: Boolean = false
308-
309306
/** List of names of phases that should precede this phase */
310307
def runsAfter: Set[String] = Set.empty
311308

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -819,8 +819,6 @@ class TypeComparer(@constructorOnly initctx: Context) extends ConstraintHandling
819819
false
820820
}
821821
compareClassInfo
822-
case tp2: SkolemType =>
823-
ctx.phase.widenSkolems && recur(tp1, tp2.info) || fourthTry
824822
case _ =>
825823
fourthTry
826824
}

compiler/src/dotty/tools/dotc/transform/Recheck.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ abstract class Recheck extends Phase, SymTransformer:
9898
// TODO: investigate what goes wrong we Ycheck directly after rechecking.
9999
// One failing test is pos/i583a.scala
100100

101-
override def widenSkolems = true
102-
103101
/** Change any `ResetPrivate` flags back to `Private` */
104102
def transformSym(sym: SymDenotation)(using Context): SymDenotation =
105103
if sym.isAllOf(Recheck.ResetPrivateParamAccessor) then

0 commit comments

Comments
 (0)