mirror of
https://github.com/github/semantic.git
synced 2024-11-24 08:54:07 +03:00
Allow guards to contain multiple expressions (for ungrouped type patterns)
This commit is contained in:
parent
35c7a472f6
commit
796ca293de
@ -472,7 +472,7 @@ generator :: Assignment
|
||||
generator = makeTerm <$> symbol Generator <*> children (Syntax.Generator <$> expression <*> expression)
|
||||
|
||||
guard' :: Assignment
|
||||
guard' = makeTerm <$> symbol Guard <*> children (Syntax.Guard <$> expression)
|
||||
guard' = makeTerm <$> symbol Guard <*> children (Syntax.Guard <$> expressions)
|
||||
|
||||
hiddenImport :: Assignment
|
||||
hiddenImport = makeTerm <$> symbol Import <*> children (Syntax.HiddenImport <$> expressions)
|
||||
|
Loading…
Reference in New Issue
Block a user