peeble
peeble copied to clipboard
fix: PhpCall (PhpVar) translating to 'name' instead of '$name'
I was getting outputs where the code was calling
$fn($arg1, $arg2)
instead of
fn($arg1, $arg2)
(which caused a problem because the variable $fn doesn't exist)
Probably because this line is commented out https://github.com/thinkbeforecoding/peeble/blob/244c6f5ed87b9d96755b2fd44ea710c0dbcbd3db/src/peeble/Transforms.fs#L404
@thinkbeforecoding Do you think you could also take a look at this one? The master branch wasn't working but this is (for me at least)