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 @@ -2366,7 +2366,7 @@ class Typer(@constructorOnly nestingLevel: Int = 0) extends Namer
2366
2366
val tparam = untpd.Ident (tree.paramName).withSpan(tree.span)
2367
2367
if tycon.tpe.typeParams.nonEmpty then
2368
2368
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
2370
2370
val tparamSplice = untpd.TypedSplice (typedExpr(tparam))
2371
2371
typed(untpd.RefinedTypeTree (tyconSplice, List (untpd.TypeDef (tpnme.Self , tparamSplice))))
2372
2372
else
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ object MiMaFilters {
98
98
val ForwardsBreakingChanges : Map [String , Seq [ProblemFilter ]] = Map (
99
99
// Additions that require a new minor version of tasty core
100
100
Build .mimaPreviousDottyVersion -> Seq (
101
- ProblemFilters .exclude[DirectMissingMethodProblem ](" dotty.tools.tasty.TastyFormat.FLEXIBLEtype" )
101
+ ProblemFilters .exclude[DirectMissingMethodProblem ](" dotty.tools.tasty.TastyFormat.FLEXIBLEtype" ),
102
102
ProblemFilters .exclude[DirectMissingMethodProblem ](" dotty.tools.tasty.TastyFormat.TRACKED" ),
103
103
),
104
104
You can’t perform that action at this time.
0 commit comments