fix(blocks): correct the callType_ of procedures_defreturn (#5974)

Fixes a bug introduced in PR #5736.
This commit is contained in:
gpfernandezflorio
2022-03-03 09:48:03 -03:00
committed by GitHub
parent 2a0e54759d
commit b34db5bd01

View File

@@ -443,7 +443,6 @@ const PROCEDURE_DEF_COMMON = {
}
}
},
callType_: 'procedures_callnoreturn',
};
blocks['procedures_defnoreturn'] = {
@@ -486,6 +485,7 @@ blocks['procedures_defnoreturn'] = {
getProcedureDef: function() {
return [this.getFieldValue('NAME'), this.arguments_, false];
},
callType_: 'procedures_callnoreturn',
};
blocks['procedures_defreturn'] = {
@@ -531,6 +531,7 @@ blocks['procedures_defreturn'] = {
getProcedureDef: function() {
return [this.getFieldValue('NAME'), this.arguments_, true];
},
callType_: 'procedures_callreturn',
};
blocks['procedures_mutatorcontainer'] = {