Skip to content

optional ';' at the end of a block without a value - #90

Merged
kryptamine merged 1 commit into
masterfrom
block-tail
Nov 16, 2026
Merged

kryptamine merged 1 commit into
masterfrom
block-tail

Conversation

@kryptamine

Copy link
Copy Markdown
Owner

The bodies of for, while, defer and bare blocks drop their last expression, so the ';' after it is optional, as it already was in if and fun bodies.

…t is optional in for, while, defer and bare blocks
@kryptamine
kryptamine merged commit 1d60f39 into master Nov 16, 2026
3 checks passed
@kryptamine
kryptamine deleted the block-tail branch November 16, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant