We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e56416 commit 1750957Copy full SHA for 1750957
compiler/src/dotty/tools/dotc/core/TypeApplications.scala
@@ -45,7 +45,7 @@ object TypeApplications {
45
private def weakerBounds(tp: HKTypeLambda, tparams: List[ParamInfo])(using Context): Boolean =
46
val onlyEmptyBounds = tp.typeParams.forall(_.paramInfo == TypeBounds.empty)
47
onlyEmptyBounds
48
- // Note: this pre-test helps efficiency. It is also necessary since in some cases
+ // Note: this pre-test helps efficiency. It is also necessary to workaround #9965 since in some cases
49
// tparams is empty. This can happen when we change the owners of inlined local
50
// classes in mapSymbols. See pos/reference/delegates.scala for an example.
51
// In this case, we can still return true if we know that the hk lambda bounds
0 commit comments