2 ms·
More details in the proposal [1]: > the basic idea is that we take the "ignored" expression results of a block of statements — including in nested positions li
by laszlokorte 7y ago
More details in the proposal [1]:
> the basic idea is that we take the "ignored" expression results of a block of statements — including in nested positions like the bodies of if and switch statements — and build them into a single result value that becomes the return value of the current function.
[1]: https://forums.swift.org/t/pitch-function-builders/25167 https://forums.swift.org/t/pitch-function-builders/25167