Post #3030753
2026-06-01 20:20 UTC
@jrose@social.belkadan.com @slava@mathstodon.xyz @zwarich@hachyderm.io my sense is that explicit declaration types and nodiscard-by-default would mitigate most of the problems with accidental unintended returns
if you wanted to reinvent “statements” within an expression framework, maybe you could have another Decl unitary type that diagnoses if you try to return it, or it gets inferred into local function types
Replies (0)
No replies.