Skip to content

Commit fe82424

Browse files
committed
Fix rebase breakage again
1 parent 9586782 commit fe82424

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
@@ -2284,7 +2284,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
22842284
val tparam = untpd.Ident(tree.paramName).withSpan(tree.span)
22852285
if tycon.tpe.typeParams.nonEmpty then
22862286
typed(untpd.AppliedTypeTree(tyconSplice, tparam :: Nil))
2287-
else if Feature.enabled(modularity) && tycon.tpe.member(tpnme.Self).symbol.isAbstractType then
2287+
else if Feature.enabled(modularity) && tycon.tpe.member(tpnme.Self).symbol.isAbstractOrParamType then
22882288
val tparamSplice = untpd.TypedSplice(typedExpr(tparam))
22892289
typed(untpd.RefinedTypeTree(tyconSplice, List(untpd.TypeDef(tpnme.Self, tparamSplice))))
22902290
else

project/MiMaFilters.scala

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

0 commit comments

Comments
 (0)