Skip to content

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Apr 9, 2020

Both functions are closely related, so should behave the same for wrong
input types, i.e. both should throw a TypeError.

Both functions are closely related, so should behave the same for wrong
input types, i.e. both should throw a TypeError.
Copy link
Contributor

@carusogabriel carusogabriel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the ZPP handle union types already?

Could we use it to replace the if/elseif/else block?

Copy link
Member

@nikic nikic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

@cmb69
Copy link
Member Author

cmb69 commented Apr 9, 2020

Does the ZPP handle union types already?

No.

@cmb69
Copy link
Member Author

cmb69 commented Apr 9, 2020

Thanks! Applied as e6458d6.

@cmb69 cmb69 closed this Apr 9, 2020
@cmb69 cmb69 deleted the cmb/79462 branch April 9, 2020 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants