File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -2994,7 +2994,7 @@ object Types {
29942994 // ----- Skolem types -----------------------------------------------
29952995
29962996 /** A skolem type reference with underlying type `binder`. */
2997- abstract case class SkolemType (info : Type ) extends UncachedProxyType with ValueType with SingletonType {
2997+ case class SkolemType (info : Type ) extends UncachedProxyType with ValueType with SingletonType {
29982998 override def underlying (implicit ctx : Context ) = info
29992999 def derivedSkolemType (info : Type )(implicit ctx : Context ) =
30003000 if (info eq this .info) this else SkolemType (info)
@@ -3010,13 +3010,6 @@ object Types {
30103010 override def toString = s " Skolem( $hashCode) "
30113011 }
30123012
3013- final class CachedSkolemType (info : Type ) extends SkolemType (info)
3014-
3015- object SkolemType {
3016- def apply (info : Type )(implicit ctx : Context ) =
3017- unique(new CachedSkolemType (info))
3018- }
3019-
30203013 // ------------ Type variables ----------------------------------------
30213014
30223015 /** In a TypeApply tree, a TypeVar is created for each argument type to be inferred.
You can’t perform that action at this time.
0 commit comments