This commit is contained in:
gingerBill committed 2018-01-10 21:13:20 +00:00
1 parent 1553421e1a
commit 82057f08ce
2 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -3965,7 +3965,7 @@ AstNode *parse_switch_stmt(AstFile *f) {
body = ast_block_stmt(f, list, open, close);
if (!is_type_match) {
tag = convert_stmt_to_expr(f, tag, str_lit("match expression"));
tag = convert_stmt_to_expr(f, tag, str_lit("switch expression"));
return ast_switch_stmt(f, token, init, tag, body);
} else {
return ast_type_switch_stmt(f, token, tag, body);