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

NoReservedKeywordParameterNames: also throw a warning for parent and self #81

Merged
merged 1 commit into from
Oct 17, 2020

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Oct 17, 2020

... as they will be equally confusing when used in the context of named parameters in function calls.

foobar(self: new self());

…d `self`

... as they will be equally confusing when used in the context of named parameters in function calls.
```php
foobar(self: new self());
```
@jrfnl jrfnl added this to the 1.0.0-alpha4 milestone Oct 17, 2020
@jrfnl jrfnl merged commit 87006da into develop Oct 17, 2020
@jrfnl jrfnl deleted the feature/noreservedkeywordsparamnames-add-self-parent branch October 17, 2020 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant