/
← Accept All   Archive
Swift Forums announcementsLanguages

[Pitch] Allow if/switch expressions in arbitrary expression positions

July 30

SE-0380 restricts if and switch expressions to assignments and returns. I'd like them wherever an ordinary expression is accepted, especially argument values and parenthesized postfix receivers: animate( orientation: swi

Pitches
Read at Swift Forums announcements ↗

Related

More from Swift Forums announcements on Accept All.