| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
assignref was missing from the needsParens switch, falling through to return false. This caused parens to be dropped in contexts where they change semantics, e.g. $a = ($b =& $var) + 5 became $a = $b = &$var + 5.
|
The change LGTM 👍 Do you have an idea why this wasn't picked up by the tests we run with AST_COMPARE? Maybe there is something we do in clean.mjs that was incorrect? |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
assignref was missing from the needsParens switch, falling through to return false. This caused parens to be dropped in contexts where they change semantics, e.g. $a = ($b =& $var) + 5 became $a = $b = &$var + 5.