File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ object TypeOps:
52
52
Stats .record(" asSeenFrom skolem prefix required" )
53
53
case _ =>
54
54
}
55
-
55
+
56
56
new AsSeenFromMap (pre, cls).apply(tp)
57
57
}
58
58
@@ -237,7 +237,6 @@ object TypeOps:
237
237
if tp1.isBottomType && (tp1 frozen_<:< tp2) then orBaseClasses(tp2)
238
238
else if tp2.isBottomType && (tp2 frozen_<:< tp1) then orBaseClasses(tp1)
239
239
else intersect(orBaseClasses(tp1), orBaseClasses(tp2))
240
- case FlexibleType (tp1) => orBaseClasses(tp1)
241
240
case _ => tp.baseClasses
242
241
243
242
/** The minimal set of classes in `cs` which derive all other classes in `cs` */
Original file line number Diff line number Diff line change @@ -3382,7 +3382,7 @@ object Types {
3382
3382
if this .tp eq under then this else FlexibleType (under)
3383
3383
override def computeHash (bs : Binders ): Int = doHash(bs, tp)
3384
3384
override def toString = " FlexibleType(%s)" .format(tp)
3385
- // override def hash = NotCached
3385
+ override final def baseClasses ( using Context ) : List [ ClassSymbol ] = underlying.baseClasses
3386
3386
}
3387
3387
3388
3388
// --- AndType/OrType ---------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments