Skip to content

Commit 9d0ca20

Browse files
committed
Fix rebase breakage again
1 parent 1e72282 commit 9d0ca20

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
@@ -2366,7 +2366,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
23662366
val tparam = untpd.Ident(tree.paramName).withSpan(tree.span)
23672367
if tycon.tpe.typeParams.nonEmpty then
23682368
typed(untpd.AppliedTypeTree(tyconSplice, tparam :: Nil))
2369-
else if Feature.enabled(modularity) && tycon.tpe.member(tpnme.Self).symbol.isAbstractType then
2369+
else if Feature.enabled(modularity) && tycon.tpe.member(tpnme.Self).symbol.isAbstractOrParamType then
23702370
val tparamSplice = untpd.TypedSplice(typedExpr(tparam))
23712371
typed(untpd.RefinedTypeTree(tyconSplice, List(untpd.TypeDef(tpnme.Self, tparamSplice))))
23722372
else

project/MiMaFilters.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ object MiMaFilters {
9898
val ForwardsBreakingChanges: Map[String, Seq[ProblemFilter]] = Map(
9999
// Additions that require a new minor version of tasty core
100100
Build.mimaPreviousDottyVersion -> Seq(
101-
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.FLEXIBLEtype")
101+
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.FLEXIBLEtype"),
102102
ProblemFilters.exclude[DirectMissingMethodProblem]("dotty.tools.tasty.TastyFormat.TRACKED"),
103103
),
104104

0 commit comments

Comments
 (0)