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 @@ -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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments