From 9437f2c4116ec152e13ba5fa8f2baedfdcf4c74c Mon Sep 17 00:00:00 2001 From: joshvera Date: Mon, 21 Aug 2017 19:05:21 -0400 Subject: [PATCH] Remove AnonDefinedQuestion --- src/Language/TypeScript/Syntax.hs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Language/TypeScript/Syntax.hs b/src/Language/TypeScript/Syntax.hs index 923c25a28..c3734f8d8 100644 --- a/src/Language/TypeScript/Syntax.hs +++ b/src/Language/TypeScript/Syntax.hs @@ -899,7 +899,6 @@ unary = symbol Unary >>= \ location -> makeTerm location . Expression.Complement <$> children ( symbol AnonTilde *> expression ) <|> makeTerm location . Expression.Not <$> children ( symbol AnonBang *> expression ) <|> makeTerm location . Expression.Not <$> children ( symbol AnonNot *> expression ) - <|> makeTerm location <$> children (Expression.Call <$> (makeTerm <$> symbol AnonDefinedQuestion <*> (Syntax.Identifier <$> source)) <*> some expression <*> emptyTerm) <|> children ( symbol AnonPlus *> expression ) <|> makeTerm location . Expression.Negate <$> children expression -- Unary minus (e.g. `-a`). HiddenUnaryMinus nodes are hidden, so we can't match on the symbol.