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:
parent
12a9cf75e8
commit
231065f1e2
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user