File tree 2 files changed +1
-10
lines changed
tests/run-macros/tasty-construct-types 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 =>
1642
1642
end extension
1643
1643
end MatchTypeOps
1644
1644
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
-
1654
1645
given (using ctx : Context ) as TypeTest [Type , ByNameType ] = reflectSelf.ByNameType_TypeTest
1655
1646
1656
1647
object ByNameType :
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ object Macros {
37
37
TypeLambda (
38
38
List (" t" ),
39
39
_ => 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 )))))
41
41
)
42
42
43
43
assert(x1T =:= ' [1 ].unseal.tpe)
You can’t perform that action at this time.
0 commit comments