mirror of https://github.com/sbt/sbt.git
Revert foldLeft to braces; Scala 3 rejects colon for two-arg lambda
This commit is contained in:
parent
258a395fe9
commit
71b3cb050b
|
|
@ -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](
|
||||
|
|
|
|||
Loading…
Reference in New Issue