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 {
45
45
private def weakerBounds (tp : HKTypeLambda , tparams : List [ParamInfo ])(using Context ): Boolean =
46
46
val onlyEmptyBounds = tp.typeParams.forall(_.paramInfo == TypeBounds .empty)
47
47
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
49
49
// tparams is empty. This can happen when we change the owners of inlined local
50
50
// classes in mapSymbols. See pos/reference/delegates.scala for an example.
51
51
// 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