-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Use attribute validator for assigning flags #19465
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
Conversation
Oh, I just noticed this has significant overlap with #18817 (which I only went to review right after this PR).
f3bf298
to
49b4e45
Compare
I'd prefer to do #18817 first since that is for an RFC
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.
we shouldn't need both scope
and target
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.
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.
after removing the separate scope
, can use
and similar for the removal of ZEND_ACC_CONSTANTS_UPDATED
We should also move the ZEND_ACC_NODISCARD
stuff from zend_compile.c into the validator, which I missed.
I'd prefer to do #18817 first since that is for an RFC
That's ok with me. Though it makes your patch a bit more complicated, parts of it we might want to revert again.
@DanielEScherzer That's fine too, I would just like to avoid rebasing multiple times. 🙂
No description provided.