From c78fe9d7132a8d6d4541e01efeef557b006ec2df Mon Sep 17 00:00:00 2001 From: joshvera Date: Fri, 11 Aug 2017 17:01:07 -0400 Subject: [PATCH] Add children combinator to accessibilityModifier --- src/Language/TypeScript/Syntax.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Language/TypeScript/Syntax.hs b/src/Language/TypeScript/Syntax.hs index 2933e62ca..e9252644a 100644 --- a/src/Language/TypeScript/Syntax.hs +++ b/src/Language/TypeScript/Syntax.hs @@ -170,7 +170,7 @@ parameter = <|> optionalParameter accessibilityModifier' :: Assignment -accessibilityModifier' = makeTerm <$> symbol AccessibilityModifier <*> (Syntax.Identifier <$> source) +accessibilityModifier' = makeTerm <$> symbol AccessibilityModifier <*> children (Syntax.Identifier <$> source) destructuringPattern :: Assignment destructuringPattern = makeTerm <$> symbol ObjectPattern <*> (Literal.Hash <$> many (pair <|> spreadElement <|> methodDefinition <|> assignmentPattern <|> shorthandPropertyIdentifier))