Skip to content

Conversation

ExE-Boss
Copy link
Contributor

@ExE-Boss ExE-Boss commented Nov 26, 2020

WebIDL2JS currently crashes when the object type is in a union, this fixes that.

Depends on:

undefined overloadsBooleanOrNumeric(boolean arg1);
undefined overloadsBooleanOrNumeric(long arg1);

// ## Avoid regressions:
Copy link
Member

Choose a reason for hiding this comment

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

I thought the present bug has to do with union types? Is overloading affected by the bug as well?

I'd also prefer a more surgical test suite. The snapshot generated from this file is really huge and not reviewable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is overloading affected by the bug as well?

The current version isn’t, because overloads had the bug fixed at some point.

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