Avatar
swiftbot BOT 7/30/2018 7:26 AM
Author icon
koher
struct Foo { var a: Int var b: Int init() { a = 2 b = [2, 3, 5].reduce(0) { [a] in $0 + $1 + a } } }
Version:
swift-4.1.1-RELEASE
Output:
Error: