-
Notifications
You must be signed in to change notification settings - Fork 64
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
warn if an optional parameter is always passed #486
Comments
Perhaps also we could warn if it's never passed, so we can remove it. |
The current ecma262 has a few cases where an operation's optional parameter is never passed an argument:
but you probably don't want to remove the parameter in the first 3 cases, and maybe in the last one too. |
I don't understand why we would want the parameter if it's never passed. We could always add it if we find a need for it. |
You probably don't want to remove ...
As for GetModifySetValueInBuffer's |
Fair.
If we mark integration points as such (tc39/ecma262#3147 (comment)), we can exclude these from the check.
Let's remove it: tc39/ecma262#3173 |
This way we can mark it non-optional.
The text was updated successfully, but these errors were encountered: