-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Validate that overloaded operations are distinguishable #651
Comments
I believe this is for webref, but currently I had to turn off |
I'm not sure I get the For context, the starting point here was the Autoplay Policy Detection spec, see w3c/autoplay#21 On top of creating non distinguishable overloads, the approach that was envisioned in the spec turned out to be a bad one in any case but the point is that may be useful to validate the rules even when looking at a single spec. |
Weird, I see several duplicates (not from webref but crawled with browser-specs):
|
Ah, if you run the crawl yourself, you'll have to fix the specs yourself too ;) I was only talking about the curated data in webref, where curation refers to applying a set of Web IDL patches to the crawled Web IDL extracts in order to pass Web IDL validation. These patches currently include a patch for the Portals spec and the other examples you mentioned to get rid of duplicates. Patches need to be maintained manually, especially for duplicates where there is indeed no simple way to decide which spec to blame. |
Web IDL defines a set of rules to assert whether two types are distinguishable, and thus whether a definition that includes overloaded operations is valid. These rules are not checked yet.
This gets a mention in #484 (comment) as "I'd consider that a separate issue", but since I could not spot a separate issue, I thought I'd create one ;)
The text was updated successfully, but these errors were encountered: