File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/typer Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2288,7 +2288,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
2288
2288
val tparam = untpd.Ident (tree.paramName).withSpan(tree.span)
2289
2289
if tycon.tpe.typeParams.nonEmpty then
2290
2290
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
2292
2292
val tparamSplice = untpd.TypedSplice (typedExpr(tparam))
2293
2293
typed(untpd.RefinedTypeTree (tyconSplice, List (untpd.TypeDef (tpnme.Self , tparamSplice))))
2294
2294
else
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ object MiMaFilters {
90
90
val ForwardsBreakingChanges : Map [String , Seq [ProblemFilter ]] = Map (
91
91
// Additions that require a new minor version of tasty core
92
92
Build .mimaPreviousDottyVersion -> Seq (
93
- ProblemFilters .exclude[DirectMissingMethodProblem ](" dotty.tools.tasty.TastyFormat.FLEXIBLEtype" )
93
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" dotty.tools.tasty.TastyFormat.FLEXIBLEtype" ),
94
94
ProblemFilters .exclude[DirectMissingMethodProblem ](" dotty.tools.tasty.TastyFormat.TRACKED" ),
95
95
),
96
96
You can’t perform that action at this time.
0 commit comments