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

Duplicate definition warnings when using contiguous IDL #480

Closed
inexorabletash opened this issue Aug 27, 2015 · 3 comments
Closed

Duplicate definition warnings when using contiguous IDL #480

inexorabletash opened this issue Aug 27, 2015 · 3 comments

Comments

@inexorabletash
Copy link
Member

example:

<pre class="idl">
interface Foo {
  attribute DOMString attr;
};
</pre>
<p>The <dfn data-lt="Foo.attr">attr</dfn> attribute's getter must...</p>

Yields: ERROR: Duplicate definition of 'foo/attr'

Note that the id/href do end up being created correctly (in this case, id="dom-foo-attr").

@marcoscaceres
Copy link
Member

@inexorabletash, try the following:

<p link-for="Foo">The <dfn data-lt="Foo.attr">attr</dfn> attribute's getter must...</p>

Should hopefully work. There is some good guidance here that should hopefully fix all the issues in the IDBlv2 spec (which I was not fully aware of):

https://www.w3.org/respec/examples/webidl-contiguous.html#introduction

@marcoscaceres
Copy link
Member

(please reopen if still busted or other issues/questions come up)

@inexorabletash
Copy link
Member Author

After the fixes were made to #470 this became a non-issue. The IDB spec is good now. :)

shikhar-scs pushed a commit to shikhar-scs/respec that referenced this issue Feb 19, 2018
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

No branches or pull requests

2 participants