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.
2 parents 36dcd93 + 896d2ef commit 52c869cCopy full SHA for 52c869c
compiler/src/dotty/tools/dotc/ast/Desugar.scala
@@ -150,8 +150,7 @@ object desugar {
150
val epbuf = new ListBuffer[ValDef]
151
def desugarContextBounds(rhs: Tree): Tree = rhs match {
152
case ContextBounds(tbounds, cxbounds) =>
153
- for (cxbound <- cxbounds)
154
- epbuf ++= makeImplicitParameters(cxbounds, isPrimaryConstructor)
+ epbuf ++= makeImplicitParameters(cxbounds, isPrimaryConstructor)
155
tbounds
156
case PolyTypeTree(tparams, body) =>
157
cpy.PolyTypeTree(rhs)(tparams, desugarContextBounds(body))
0 commit comments