1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 13:51:44 +03:00

Fix bug with empty pair - don't think we need this anymore

This commit is contained in:
Timothy Clem 2017-09-01 10:00:43 -07:00
parent 12a9cf75e8
commit 231065f1e2

View File

@ -292,7 +292,6 @@ subscript = makeTerm <$> symbol ElementReference <*> children (Expression.Subscr
pair :: Assignment
pair = makeTerm <$> symbol Pair <*> children (Literal.KeyValue <$> expression <*> expression)
<|> makeTerm <$> token Pair <*> pure Syntax.Empty
methodCall :: Assignment
methodCall = makeTerm <$> symbol MethodCall <*> children (Expression.Call <$> expression <*> args <*> (block <|> emptyTerm))