The core team also acknowledges that accepting [SE-0255: Implicit returns from single expression functions] may encourage follow-on proposals that generalize it further, such as converting
if
/switch
statements into expressions, or allowing elision in multi-statement bodies. Accepting this proposal doesn't necessarily endorse or rule out those future directions.
6 Likes