mirror of
https://github.com/github/semantic.git
synced 2024-12-21 05:41:54 +03:00
remove comma from makeFunction
This commit is contained in:
parent
1de404a679
commit
0921f1baa0
@ -662,7 +662,7 @@ constraint = makeTerm <$> symbol Grammar.Constraint <*> children (Language.TypeS
|
||||
|
||||
function :: Assignment
|
||||
function = makeFunction <$> symbol Grammar.Function <*> children ((,,) <$> identifier <*> callSignatureParts <*> statements)
|
||||
where makeFunction loc (id, (typeParams, params, annotation), statements) = makeTerm loc (Declaration.Function [typeParams, annotation] id, params)
|
||||
where makeFunction loc (id, (typeParams, params, annotation), statements) = makeTerm loc (Declaration.Function [typeParams, annotation] id params)
|
||||
|
||||
ty :: Assignment
|
||||
ty = primaryType <|> unionType <|> intersectionType <|> functionTy <|> constructorTy
|
||||
|
Loading…
Reference in New Issue
Block a user