blockly-block-lexical-variables - functions with a return value don't have a body
nimrodsha opened this issue · 2 comments
nimrodsha commented
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.
mark-friedman commented
FYI, as a workaround for this issue you can use the "controls_do_then_return"
block, as seen in here: