Working mut pattern

This commit is contained in:
2026-05-28 11:52:40 +02:00
parent 7007aa32f1
commit 7a2ba74d9c
4 changed files with 19 additions and 17 deletions
+3 -3
View File
@@ -32,9 +32,9 @@ pub enum Literal {
#[derive(Debug, Clone, Serialize)]
pub enum Pattern {
NamedTuple(Path, Vec<Identifier>),
Struct(Path, Vec<Identifier>),
Tuple(Vec<Identifier>),
NamedTuple(Path, Vec<Box<Pattern>>),
Struct(Path, Vec<Box<Pattern>>),
Tuple(Vec<Box<Pattern>>),
Literal(Literal),
Path(bool, Path),
}