Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request][move-compiler-v2] check for break/continue outside a loop should happen earlier in compilation #13708

Open
brmataptos opened this issue Jun 14, 2024 · 0 comments
Labels
compiler-v2-stable compiler-v2 enhancement New feature or request stale-exempt Prevents issues from being automatically marked and closed as stale

Comments

@brmataptos
Copy link
Contributor

brmataptos commented Jun 14, 2024

🚀 Feature Request

Currently, a break/continue outside a loop is detected in move-compiler-v2/src/bytecode_generator.rs:456, quite late in compilation.

This check should happen earlier in compilation.

It also means that tests of this can't be included in move-compiler-v2/tests/checking/ since those tests don't include bytecode generation.

@sausagee sausagee added the stale-exempt Prevents issues from being automatically marked and closed as stale label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler-v2-stable compiler-v2 enhancement New feature or request stale-exempt Prevents issues from being automatically marked and closed as stale
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants