Fixed constructor args

This commit is contained in:
2026-06-04 10:39:41 +02:00
parent a4df59927e
commit 7a5e03afd6
6 changed files with 57 additions and 30 deletions
+5 -1
View File
@@ -146,8 +146,12 @@ named_tuple_pattern = {
static_path ~ "[" ~ multi_pat_template ~ "]"
}
struct_destruct = {
identifier ~ (":" ~ pattern)?
}
struct_pattern = {
static_path ~ "{" ~ multi_pat_template ~ "}"
static_path ~ "{" ~ (struct_destruct ~ ("," ~ struct_destruct)*)? ~ "}"
}
path_pattern = {