Eliminate the distinction between statements and tail expressions #3058
Labels
A-frontend
Area: Compiler frontend (errors, parsing and HIR)
A-type-system
Area: Type system
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Milestone
I don't see an issue open for this. It's on the roadmap.
Making ignored values an error (#2974) helps because then we can assume that type of the final statement is intended to be used. Then the semi-colon can be optional, as are other trailing seperators.
The text was updated successfully, but these errors were encountered: