Revert foldLeft to braces; Scala 3 rejects colon for two-arg lambda

This commit is contained in:
bitloi 2026-02-09 16:23:34 +01:00
parent 258a395fe9
commit 71b3cb050b
1 changed files with 1 additions and 1 deletions

View File

@ -1004,7 +1004,7 @@ trait Init:
else Left(undefs.toSeq)
private[sbt] override def processAttributes[A2](init: A2)(f: (A2, AttributeMap) => A2): A2 =
inputs.toList0.foldLeft(init): (v, i) => i.processAttributes(v)(f)
inputs.toList0.foldLeft(init) { (v, i) => i.processAttributes(v)(f) }
end Apply
private[sbt] final class DynamicDepsInitialize[A1](