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

blockly-block-lexical-variables - functions with a return value don't have a body #23

Open
nimrodsha opened this issue Mar 17, 2022 · 2 comments

Comments

@nimrodsha
Copy link

In this plugin, the functions which return a value appear with no function body.
It would be best if they had a body like the regular ones.

@0xJJW
Copy link

0xJJW commented May 2, 2022

@nimrodsha Did you manage to add the statement field to the procedures_defreturn block? I have been having issues too.

@mark-friedman
Copy link
Collaborator

@nimrodsha @0xJJW

FYI, as a workaround for this issue you can use the "controls_do_then_return" block, as seen in here:

Screen Shot 2022-05-05 at 4 02 59 PM

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

No branches or pull requests

3 participants