File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/transform/patmat Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -709,7 +709,7 @@ object SpaceEngine {
709709 else NoType
710710 }.filter(_.exists)
711711 parts
712- case tref : TypeRef if tref.symbol.isOpaqueAlias && ! tref.info.hiBound.isNothingType =>
712+ case tref : TypeRef if tref.symbol.isAbstractOrAliasType && ! tref.info.hiBound.isNothingType =>
713713 rec(tref.info.hiBound, mixins)
714714 case _ => ListOfNoType
715715 end rec
@@ -857,7 +857,7 @@ object SpaceEngine {
857857 classSym.is(Case ) ||
858858 (tpw.isInstanceOf [TypeRef ] && {
859859 val tref = tpw.asInstanceOf [TypeRef ]
860- if (tref.symbol.isOpaqueAlias && ! tref.info.hiBound.isNothingType)
860+ if (tref.symbol.isAbstractOrAliasType && ! tref.info.hiBound.isNothingType)
861861 isCheckable(tref.info.hiBound)
862862 else
863863 false
You can’t perform that action at this time.
0 commit comments