1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 17:04:47 +03:00

Allow guards to contain multiple expressions (for ungrouped type patterns)

This commit is contained in:
Rick Winfrey 2018-06-20 17:23:21 -07:00
parent 35c7a472f6
commit 796ca293de

View File

@ -472,7 +472,7 @@ generator :: Assignment
generator = makeTerm <$> symbol Generator <*> children (Syntax.Generator <$> expression <*> expression) generator = makeTerm <$> symbol Generator <*> children (Syntax.Generator <$> expression <*> expression)
guard' :: Assignment guard' :: Assignment
guard' = makeTerm <$> symbol Guard <*> children (Syntax.Guard <$> expression) guard' = makeTerm <$> symbol Guard <*> children (Syntax.Guard <$> expressions)
hiddenImport :: Assignment hiddenImport :: Assignment
hiddenImport = makeTerm <$> symbol Import <*> children (Syntax.HiddenImport <$> expressions) hiddenImport = makeTerm <$> symbol Import <*> children (Syntax.HiddenImport <$> expressions)