Improved match statements

This commit is contained in:
2026-06-23 19:03:47 +02:00
parent 97de75252d
commit dc8acdc2bd
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -450,7 +450,7 @@ loop_stmt = {
pattern_list = { pattern ~ ("|" ~ pattern)* }
match_item = {
pattern_list ~ "=>" ~ statement
pattern_list ~ "=>" ~ (statement | (expr ~ ","))
}
match_stmt = {