mirror of
https://github.com/github/semantic.git
synced 2024-12-25 07:55:12 +03:00
Generalize fieldPattern over expressions
This commit is contained in:
parent
12230f33a7
commit
32b8224a3e
@ -421,7 +421,7 @@ fieldBind :: Assignment
|
||||
fieldBind = makeTerm <$> symbol FieldBind <*> children (Syntax.FieldBind <$> expression <*> expression)
|
||||
|
||||
fieldPattern :: Assignment
|
||||
fieldPattern = makeTerm <$> symbol FieldPattern <*> children (Syntax.FieldPattern <$> expression <*> expression)
|
||||
fieldPattern = makeTerm <$> symbol FieldPattern <*> children (Syntax.FieldPattern <$> expression <*> expressions)
|
||||
|
||||
fixityDeclaration :: Assignment
|
||||
fixityDeclaration = makeTerm <$> symbol FixityDeclaration <*> children (Syntax.Fixity' <$> (integer <|> emptyTerm) <*> manyTerm expression)
|
||||
|
Loading…
Reference in New Issue
Block a user