Fixed constructor args
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user