Fix return type of "list to ..." blocks
Correct the return type from list to text.
@@ -371,7 +371,7 @@ Blockly.Blocks['lists_to_csv_row'] = {
helpUrl : Blockly.Msg.LANG_LISTS_TO_CSV_ROW_HELPURL,
init : function() {
this.setColour(Blockly.LIST_CATEGORY_HUE);
- this.setOutput(true, Blockly.Blocks.Utilities.YailTypeToBlocklyType("list",Blockly.Blocks.Utilities.OUTPUT));
+ this.setOutput(true, Blockly.Blocks.Utilities.YailTypeToBlocklyType("text",Blockly.Blocks.Utilities.OUTPUT));
this.appendValueInput('LIST')
.setCheck(Blockly.Blocks.Utilities.YailTypeToBlocklyType("list",Blockly.Blocks.Utilities.INPUT))
.appendField(Blockly.Msg.LANG_LISTS_TO_CSV_ROW_TITLE_TO_CSV)
@@ -387,7 +387,7 @@ Blockly.Blocks['lists_to_csv_table'] = {
helpUrl : Blockly.Msg.LANG_LISTS_TO_CSV_TABLE_HELPURL,
init : function() {
this.setColour(Blockly.LIST_CATEGORY_HUE);
- this.setOutput(true, Blockly.Blocks.Utilities.YailTypeToBlocklyType("list",Blockly.Blocks.Utilities.OUTPUT));
+ this.setOutput(true, Blockly.Blocks.Utilities.YailTypeToBlocklyType("text",Blockly.Blocks.Utilities.OUTPUT));
this.appendValueInput('LIST')
.setCheck(Blockly.Blocks.Utilities.YailTypeToBlocklyType("list",Blockly.Blocks.Utilities.INPUT))
.appendField(Blockly.Msg.LANG_LISTS_TO_CSV_TABLE_TITLE_TO_CSV)
