Block expressions with `yield` for its value?

Tesla Zhang ice1000kotlin at foxmail.com
Wed Aug 24 19:26:43 UTC 2022


Hi all,




Since switch expressions have block bodies with `yield` specifying its value, is it a good idea to generalize this to all blocks, and allow blocks as expressions?



Regards,
Tesla
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-dev/attachments/20220824/185bbc9b/attachment-0001.htm>


More information about the amber-dev mailing list