mirror of
https://github.com/github/semantic.git
synced 2025-01-02 20:41:38 +03:00
Update src/Language/Java/Assignment.hs
Parens are not necessary here. Co-Authored-By: Rob Rix <robrix@github.com>
This commit is contained in:
parent
c623d2906b
commit
6fc97fce21
@ -452,7 +452,7 @@ throw :: Assignment Term
|
||||
throw = makeTerm <$> symbol ThrowStatement <*> children (Statement.Throw <$> term expression)
|
||||
|
||||
try :: Assignment Term
|
||||
try = (symbol TryStatement *> children tryWithResources) <|> standardTry
|
||||
try = symbol TryStatement *> children tryWithResources <|> standardTry
|
||||
|
||||
standardTry :: Assignment Term
|
||||
standardTry = makeTerm <$> symbol TryStatement <*> children (Statement.Try <$> term expression <*> (append <$> optional catches <*> optional finally))
|
||||
|
Loading…
Reference in New Issue
Block a user