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
+1 -1
View File
@@ -33,7 +33,7 @@ pub enum Literal {
#[derive(Debug, Clone, Serialize)]
pub enum Pattern {
NamedTuple(Path, Vec<Box<Pattern>>),
Struct(Path, Vec<Box<Pattern>>),
Struct(Path, Vec<(Identifier, Option<Box<Pattern>>)>),
Tuple(Vec<Box<Pattern>>),
Literal(Literal),
Path(bool, Path),