File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ object TypeApplications {
4545 private def weakerBounds (tp : HKTypeLambda , tparams : List [ParamInfo ])(using Context ): Boolean =
4646 val onlyEmptyBounds = tp.typeParams.forall(_.paramInfo == TypeBounds .empty)
4747 onlyEmptyBounds
48- // Note: this pre-test helps efficiency. It is also necessary since in some cases
48+ // Note: this pre-test helps efficiency. It is also necessary to workaround #9965 since in some cases
4949 // tparams is empty. This can happen when we change the owners of inlined local
5050 // classes in mapSymbols. See pos/reference/delegates.scala for an example.
5151 // In this case, we can still return true if we know that the hk lambda bounds
You can’t perform that action at this time.
0 commit comments