Fix crash when MatchExpression is expected

This commit is contained in:
Sam Vervaeck 2023-05-22 11:55:31 +02:00
parent bce5bffa85
commit fd015dcf22
Signed by: samvv
SSH key fingerprint: SHA256:dIg0ywU1OP+ZYifrYxy8c5esO72cIKB+4/9wkZj1VaY

View file

@ -98,6 +98,8 @@ namespace bolt {
return "'let'"; return "'let'";
case NodeKind::MutKeyword: case NodeKind::MutKeyword:
return "'mut'"; return "'mut'";
case NodeKind::MatchKeyword:
return "'match'";
case NodeKind::ReturnKeyword: case NodeKind::ReturnKeyword:
return "'return'"; return "'return'";
case NodeKind::TypeKeyword: case NodeKind::TypeKeyword: