File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1678,7 +1678,7 @@ object SymDenotations {
16781678 case tp @ AppliedType (tycon, args) =>
16791679 val subsym = tycon.typeSymbol
16801680 if (subsym eq symbol) tp
1681- else tycon.typeParams match {
1681+ else ( tycon.typeParams: @ unchecked) match {
16821682 case LambdaParam (_, _) :: _ =>
16831683 baseTypeOf(tp.superType)
16841684 case tparams : List [Symbol @ unchecked] =>
Original file line number Diff line number Diff line change @@ -2674,7 +2674,7 @@ object Types {
26742674 * either a list of type parameter symbols or a list of lambda parameters
26752675 */
26762676 def integrate (tparams : List [ParamInfo ], tp : Type )(implicit ctx : Context ): Type =
2677- tparams match {
2677+ ( tparams : @ unchecked) match {
26782678 case LambdaParam (lam, _) :: _ => tp.subst(lam, this )
26792679 case params : List [Symbol @ unchecked] => tp.subst(params, paramRefs)
26802680 }
You can’t perform that action at this time.
0 commit comments