Skip to content

Commit 521bb47

Browse files
committed
Change return to be at end of block
1 parent 716d929 commit 521bb47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/blocks/mrc_class_method_def.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,8 @@ const CLASS_METHOD_DEF = {
264264
this.appendValueInput(RETURN_VALUE)
265265
.setAlign(Blockly.inputs.Align.RIGHT)
266266
.appendField(Blockly.Msg.PROCEDURES_DEFRETURN_RETURN);
267-
// Move the return input to be before the statement input
268-
this.moveInputBefore(RETURN_VALUE, 'STACK');
267+
// Move the return input to be after the statement input
268+
this.moveInputBefore('STACK', RETURN_VALUE);
269269
}
270270
},
271271
removeParameterFields: function (input: Blockly.Input) {

0 commit comments

Comments
 (0)