We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For the semantic analyzer function_body function, there is the possibility to call multiple times return in case:
function_body
ast::BodyStatement::Expression(expression) | ast::BodyStatement::Return(expression) => {...}
ast::BodyStatement::Return
ast::BodyStatement::Expression
🛑 Should add an error message to an error state
No errors 🙆. Multiple-time return doesn't check.
The text was updated successfully, but these errors were encountered:
Fix function-body multiple return issue #8
147f3bd
Fixed in #7
Sorry, something went wrong.
mrLSD
No branches or pull requests
Description
For the semantic analyzer
function_body
function, there is the possibility to call multiple times return in case:How to reproduce
ast::BodyStatement::Return
ast::BodyStatement::Expression
Expected behavior
🛑 Should add an error message to an error state
Actual behavior
No errors 🙆. Multiple-time return doesn't check.
The text was updated successfully, but these errors were encountered: