mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
It's allowed to convert a single statement closure from `(...) -> T` to `(...) -> Void` _only_ if there is no explicit `return` in the body. Resolves: [SR-12277](https://bugs.swift.org/browse/SR-12277) Resolves: rdar://problem/52204414
373 KiB
373 KiB