Skip to content
Browse files

Merge pull request #11 from arvidj/master

Fix missing commas in arglist of unparse of lambdas
  • Loading branch information...
2 parents e8e4e35 + aac3e98 commit 4520fee17aea01767fd5e5d667735c54955b89c1 @dancor dancor committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Lang/Php/Ast/StmtUnparse.hs
View
2 src/Lang/Php/Ast/StmtUnparse.hs
@@ -216,7 +216,7 @@ instance Unparse AnonFuncUse where
instance Unparse AnonFunc where
unparse (AnonFunc w1 ref (WSCap w2 args w3) use block) = concat [tokFunction,
unparse w1, maybe [] ((tokAmp ++) . unparse) ref, unparse w2,
- tokLParen, unparse args, tokRParen, unparse w3, unparse use, unparse block]
+ argListUnparser args, unparse w3, unparse use, unparse block]
-- Stmt

0 comments on commit 4520fee

Please sign in to comment.
Something went wrong with that request. Please try again.