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

Avoid overloading HTML methods #210

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

otherdaniel
Copy link
Collaborator

This closes #209, by adding "__TO_BE_MERGED" to any methods already defined in HTML. The intent is that the reader can still identify which method we mean, but the tools won't get confused.

@mozfreddyb mozfreddyb self-requested a review March 21, 2024 07:37
@otherdaniel otherdaniel merged commit 7794b23 into WICG:main Mar 21, 2024
2 checks passed
github-actions bot added a commit that referenced this pull request Mar 21, 2024
SHA: 7794b23
Reason: push, by otherdaniel

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
otherdaniel added a commit that referenced this pull request Apr 10, 2024
In #210, we added a suffix to methods defined in HTML in order to avoid tooling errors. Per #216, this still causes inconvenience. So here we solve this by using class=extract, to prevent these partial interfaces from being extracted at all.

See: https://speced.github.io/bikeshed/#no-idl
Fixes #216.
@otherdaniel otherdaniel deleted the method-overloading branch April 22, 2024 12:23
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.

Overloading methods in a separate partial definition is invalid
3 participants