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 01c5eac commit ddf26eeCopy full SHA for ddf26ee
compiler/src/dotty/tools/dotc/core/ConstraintHandling.scala
@@ -345,8 +345,7 @@ trait ConstraintHandling {
345
assert {
346
checkPropagated(i"initialized $tl") {
347
constraint = constraint.add(tl, tvars)
348
- tl.paramNames.indices.forall { i =>
349
- val param = tl.paramRefs(i)
+ tl.paramRefs.forall { param =>
350
val bounds = constraint.nonParamBounds(param)
351
val lower = constraint.lower(param)
352
val upper = constraint.upper(param)
0 commit comments