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