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