Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Fix missing commas in arglist of unparse of lambdas #11

Merged
merged 4 commits into from
Sep 17, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Lang/Php/Ast/StmtUnparse.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down