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 {
2994
2994
// ----- Skolem types -----------------------------------------------
2995
2995
2996
2996
/** 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 {
2998
2998
override def underlying (implicit ctx : Context ) = info
2999
2999
def derivedSkolemType (info : Type )(implicit ctx : Context ) =
3000
3000
if (info eq this .info) this else SkolemType (info)
@@ -3010,13 +3010,6 @@ object Types {
3010
3010
override def toString = s " Skolem( $hashCode) "
3011
3011
}
3012
3012
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
-
3020
3013
// ------------ Type variables ----------------------------------------
3021
3014
3022
3015
/** 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