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

Add scenario for generating proxies for intersection types in class properties/parameters/methods #728

Open
Ocramius opened this issue Dec 7, 2021 · 0 comments
Milestone

Comments

@Ocramius
Copy link
Owner

Ocramius commented Dec 7, 2021

Similar to #727, we need to expand our testing into intersection types.

Luckily, intersection types do not currently support nullability ( https://wiki.php.net/rfc/pure-intersection-types ), and only operate with object-alike types, which should make the integration (hopefully) straightforward.

For this, we probably need to add intersection types in new classes replicating:

We need to then integrate those new classes into scenarios that already verify codegen for the ones referenced above.

@Ocramius Ocramius added this to the 2.14.0 milestone Dec 7, 2021
@Ocramius Ocramius modified the milestones: 2.14.0, 2.15.0 Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant