mit-cml/blockly-plugins

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

nimrodsha opened this issue · 2 comments

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 commented

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

@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