Skip to content

Conversation

@danog
Copy link
Contributor

@danog danog commented Jan 13, 2021

@afilina
Copy link
Contributor

afilina commented Jan 13, 2021

Can we have a test to verify the bugfix? Example of a PR that fixes 2 bugs and has one test case for each: #6599

@danog
Copy link
Contributor Author

danog commented Jan 13, 2021

Sure, done!

@afilina
Copy link
Contributor

afilina commented Jan 13, 2021

LGTM.

For those wondering about expected behavior, self is supposed to be supported in union types as per the RFC (see under "Type grammar")

@php-pulls php-pulls closed this in f9fbba4 Jan 14, 2021
@nikic
Copy link
Member

nikic commented Jan 14, 2021

I've slightly adjusted the fix by moving the truncation into class name resolution, rather than type concatenation.

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.

3 participants