Skip to content


Fix missing commas in arglist of unparse of lambdas #11

merged 4 commits into from

2 participants

Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Lang/Php/Ast/StmtUnparse.hs
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
Something went wrong with that request. Please try again.