You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a tough call because IDL fragments are, more often then not, parsed independently - so this would have limited value to some applications (e.g., in ReSpec).
However, in cases where lots of fragments are parsed at once (and it would be a nice feature for validation/linting), thus I can certainly see the utility.
Having said that, does the IDL spec forbid duplicate identifiers even when different types? (I guess it probably should, just not sure).
Within the set of IDL fragments that a given implementation supports, the identifier of every interface, namespace, dictionary, enumeration, callback function and typedef must not be the same as the identifier of any other interface, namespace, dictionary, enumeration, callback function or typedef.
Consider the following example idl:
The generated output is as
In this case, the name
Test
is used twice: once for the interface and once for the typedef.Should the library report this as an error?
The text was updated successfully, but these errors were encountered: