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

LibWeb/Bindings: Generate undefined in a union as 'Empty' #3233

Conversation

shannonbooth
Copy link
Contributor

This can only ever be undefined, and no other JS value, so it makes more sense to use Empty here instead.

Fixes 1 of ~5 issues seen in the URLPattern IDL, though this one is the only one which hasn't been causing compile errors and was more just of a FIXME.

This can only ever be undefined, and no other JS value, so it makes
sense to use undefined to represent this case.
@tcl3 tcl3 merged commit dfdcfc8 into LadybirdBrowser:master Jan 12, 2025
8 checks passed
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