From fd015dcf227cc75a1eac006bee48ed3397a9876f Mon Sep 17 00:00:00 2001 From: Sam Vervaeck Date: Mon, 22 May 2023 11:55:31 +0200 Subject: [PATCH] Fix crash when MatchExpression is expected --- src/Diagnostics.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Diagnostics.cc b/src/Diagnostics.cc index c9a4e17fc..2148b8126 100644 --- a/src/Diagnostics.cc +++ b/src/Diagnostics.cc @@ -98,6 +98,8 @@ namespace bolt { return "'let'"; case NodeKind::MutKeyword: return "'mut'"; + case NodeKind::MatchKeyword: + return "'match'"; case NodeKind::ReturnKeyword: return "'return'"; case NodeKind::TypeKeyword: