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 {
1678
1678
case tp @ AppliedType (tycon, args) =>
1679
1679
val subsym = tycon.typeSymbol
1680
1680
if (subsym eq symbol) tp
1681
- else tycon.typeParams match {
1681
+ else ( tycon.typeParams: @ unchecked) match {
1682
1682
case LambdaParam (_, _) :: _ =>
1683
1683
baseTypeOf(tp.superType)
1684
1684
case tparams : List [Symbol @ unchecked] =>
Original file line number Diff line number Diff line change @@ -2674,7 +2674,7 @@ object Types {
2674
2674
* either a list of type parameter symbols or a list of lambda parameters
2675
2675
*/
2676
2676
def integrate (tparams : List [ParamInfo ], tp : Type )(implicit ctx : Context ): Type =
2677
- tparams match {
2677
+ ( tparams : @ unchecked) match {
2678
2678
case LambdaParam (lam, _) :: _ => tp.subst(lam, this )
2679
2679
case params : List [Symbol @ unchecked] => tp.subst(params, paramRefs)
2680
2680
}
You can’t perform that action at this time.
0 commit comments