File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
tests/run-macros/tasty-construct-types Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -1642,15 +1642,6 @@ trait Reflection extends reflect.Types { reflectSelf: CompilerInterface =>
16421642 end extension
16431643 end MatchTypeOps
16441644
1645- // TODO remove this definition from here
1646- /**
1647- * An accessor for `scala.internal.MatchCase[_,_]`, the representation of a `MatchType` case.
1648- */
1649- def MatchCaseType (using ctx : Context ): Type = {
1650- import scala .internal .MatchCase
1651- Type (classOf [MatchCase [_,_]])
1652- }
1653-
16541645 given (using ctx : Context ) as TypeTest [Type , ByNameType ] = reflectSelf.ByNameType_TypeTest
16551646
16561647 object ByNameType :
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ object Macros {
3737 TypeLambda (
3838 List (" t" ),
3939 _ => List (TypeBounds (Type .of[Nothing ], Type .of[Any ])),
40- tl => MatchCaseType .appliedTo(List (Type .of[List ].appliedTo(tl.param(0 )), tl.param(0 )))))
40+ tl => Type .of[scala.internal. MatchCase ] .appliedTo(List (Type .of[List ].appliedTo(tl.param(0 )), tl.param(0 )))))
4141 )
4242
4343 assert(x1T =:= ' [1 ].unseal.tpe)
You can’t perform that action at this time.
0 commit comments