-
Notifications
You must be signed in to change notification settings - Fork 72
refactor: byRef #388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: byRef #388
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not ok, as you said, we stick on grammar, I need instead a new AssignRef
, and not a byref property on assign
@ichiriac hm, why? |
|
ok, WIP |
314ab35
to
42db203
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you also provide a test with $foo = &$bar + 1
in order to check precedence
42db203
to
98f510e
Compare
98f510e
to
23d2743
Compare
@ichiriac done 👍 |
thanks @evilebottnawi - it's great |
@ichiriac WIP on remove unnecessary stuff for |
in principle I don't use byRef node anymore, see 72cde99 - but still it may be cases where the byref syntax is too permissive |
@ichiriac i will check all 👍 |
/cc @ichiriac here just fix
in the next PR i want to remove
byRef
node and revert some changes from fbfd46f