On 04.07.2016 0:04, Anton Zhilin via swift-evolution wrote:
[1,2,3].reduce(0) { $1 } //=> 3 [1,2,3].reduce(0) { $0 } // error :(Am I requesting too much from type checker? Will recent function type proposals resolve the issue?
Yes, I believe this should be fixed with SE-0110, if accepted
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
