Skip to content
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

Require all internal functions to have arginfo #5208

Closed
wants to merge 1 commit into from

Conversation

nikic
Copy link
Member

@nikic nikic commented Feb 25, 2020

All internal functions are now required to specify arg_info.

Note that zf->common.arg_info can still be NULL, but only if num_args==0.

@nikic
Copy link
Member Author

nikic commented Feb 25, 2020

I've relaxed this a bit to only throw a warning -- makes it more convenient to see all the missing arginfo reported at once. The main part here is that we interpret no arginfo as the signature with no args, and don't exclude it from LSP checks.

@nikic
Copy link
Member Author

nikic commented Feb 25, 2020

@cmb69 Can you please take a look at the last commit?

@nikic
Copy link
Member Author

nikic commented Feb 26, 2020

Merged as b35b014.

@nikic nikic closed this Feb 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant