From ed9895f422ca548949d26be33c1de744415c7e72 Mon Sep 17 00:00:00 2001 From: joshvera Date: Mon, 21 Aug 2017 19:16:53 -0400 Subject: [PATCH] s/Unary/UnaryExpression --- 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 7424a6b69..4b7188220 100644 --- a/src/Language/TypeScript/Syntax.hs +++ b/src/Language/TypeScript/Syntax.hs @@ -912,7 +912,7 @@ assignment' <|> argument unary :: Assignment -unary = symbol Unary >>= \ location -> +unary = symbol UnaryExpression >>= \ 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 )