Skip to content

Commit

Permalink
fix typecheck error in microbitv2
Browse files Browse the repository at this point in the history
  • Loading branch information
bjost2s committed Aug 20, 2024
1 parent e457cd1 commit d5787a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,6 @@ public BlocklyType visitToneAction(ToneAction toneAction) {

@Override
public BlocklyType visitPlayNoteAction(PlayNoteAction playNoteAction) {
return Sig.of(BlocklyType.NUMBER).typeCheckPhrases(playNoteAction, this);
return Sig.of(BlocklyType.VOID).typeCheckPhrases(playNoteAction, this);
}
}

0 comments on commit d5787a3

Please sign in to comment.