Skip to content

Conversation

@Pieter12345
Copy link
Owner

  • Validate that break() and continue() are used within breakable / continuable code blocks during static analysis.
  • Fix scope construction for switch() forgetting about its value argument.
  • Improve scope structures of several control flow functions to reflect their assign / condition / code scopes.

Typecheck `return;` and `return @Val;` value against its expected type from the surrounding procedure, closure or bind.
Validate that `break()` and `continue()` are used within breakable / continuable code blocks during static analysis.
@Pieter12345 Pieter12345 force-pushed the break-continue-validation branch from fba990d to 17cdf6f Compare October 14, 2025 22:10
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.

2 participants