Fix crash when MatchExpression is expected
This commit is contained in:
parent
bce5bffa85
commit
fd015dcf22
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue