Skip to content

Commit 9c6f59e

Browse files
committed
Fix rebase breakage again
1 parent a1933f1 commit 9c6f59e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/typer/Typer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2288,7 +2288,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
22882288
val tparam = untpd.Ident(tree.paramName).withSpan(tree.span)
22892289
if tycon.tpe.typeParams.nonEmpty then
22902290
typed(untpd.AppliedTypeTree(tyconSplice, tparam :: Nil))
2291-
else if Feature.enabled(modularity) && tycon.tpe.member(tpnme.Self).symbol.isAbstractType then
2291+
else if Feature.enabled(modularity) && tycon.tpe.member(tpnme.Self).symbol.isAbstractOrParamType then
22922292
val tparamSplice = untpd.TypedSplice(typedExpr(tparam))
22932293
typed(untpd.RefinedTypeTree(tyconSplice, List(untpd.TypeDef(tpnme.Self, tparamSplice))))
22942294
else

project/MiMaFilters.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ object MiMaFilters {
9090
val ForwardsBreakingChanges: Map[String, Seq[ProblemFilter]] = Map(
9191
// Additions that require a new minor version of tasty core
9292
Build.mimaPreviousDottyVersion -> Seq(
93-
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.FLEXIBLEtype")
93+
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.FLEXIBLEtype"),
9494
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.TRACKED"),
9595
),
9696

0 commit comments

Comments
 (0)