@@ -3014,7 +3014,7 @@ object Types {
3014
3014
private [Types ] var opened : Boolean = false
3015
3015
private [Types ] var openedTwice : Boolean = false
3016
3016
3017
- val parent : Type = parentExp(this )
3017
+ val parent : Type = parentExp(this : @ unchecked )
3018
3018
3019
3019
private var myRecThis : RecThis | Null = null
3020
3020
@@ -3705,8 +3705,8 @@ object Types {
3705
3705
3706
3706
type This = MethodType
3707
3707
3708
- val paramInfos : List [Type ] = paramInfosExp(this )
3709
- val resType : Type = resultTypeExp(this )
3708
+ val paramInfos : List [Type ] = paramInfosExp(this : @ unchecked )
3709
+ val resType : Type = resultTypeExp(this : @ unchecked )
3710
3710
assert(resType.exists)
3711
3711
3712
3712
def companion : MethodTypeCompanion
@@ -3879,8 +3879,8 @@ object Types {
3879
3879
type This = HKTypeLambda
3880
3880
def companion : HKTypeLambda .type = HKTypeLambda
3881
3881
3882
- val paramInfos : List [TypeBounds ] = paramInfosExp(this )
3883
- val resType : Type = resultTypeExp(this )
3882
+ val paramInfos : List [TypeBounds ] = paramInfosExp(this : @ unchecked )
3883
+ val resType : Type = resultTypeExp(this : @ unchecked )
3884
3884
3885
3885
private def setVariances (tparams : List [LambdaParam ], vs : List [Variance ]): Unit =
3886
3886
if tparams.nonEmpty then
@@ -3948,8 +3948,8 @@ object Types {
3948
3948
type This = PolyType
3949
3949
def companion : PolyType .type = PolyType
3950
3950
3951
- val paramInfos : List [TypeBounds ] = paramInfosExp(this )
3952
- val resType : Type = resultTypeExp(this )
3951
+ val paramInfos : List [TypeBounds ] = paramInfosExp(this : @ unchecked )
3952
+ val resType : Type = resultTypeExp(this : @ unchecked )
3953
3953
3954
3954
assert(resType.isInstanceOf [TermType ], this )
3955
3955
assert(paramNames.nonEmpty)
0 commit comments