Skip to content

Intersection types bug fixes #7254

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

Merged
merged 2 commits into from
Jul 17, 2021
Merged

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Jul 17, 2021

Bugs pointed out in the feature request 81268

I expected there to be some sort of bugs in the implementation, but not of this kind.
This mostly add guards during the compile step.

Girgias added 2 commits July 17, 2021 01:39
The error message which is generated when one tries to assign null to an intersection type property is wrong and misleading
@Girgias Girgias merged commit 9e1c961 into php:master Jul 17, 2021
@Girgias Girgias deleted the intersection-types-fixes branch July 17, 2021 09:15
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.

2 participants