[whatwg/webidl] How are name conflicts specified? (Issue #1411)

### What is the issue with the Web IDL Standard?

With the addition of [this draft](https://privacycg.github.io/saa-non-cookie-storage/), the Web IDL now specifies two operations with the same name as their return type: https://github.com/w3c/webref/blob/3375fbd9df4df1c72620921ce875766f84983288/ed/idl/saa-non-cookie-storage.idl#L32.

This presents issues in languages that may provide bindings for these APIs, as you now have a name conflict. It isn't clear if this naming scheme is working as intended, and I can't determine from [the spec](https://webidl.spec.whatwg.org/) what other name conflicts/scoping rules to watch out for.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1411
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/1411@github.com>

Received on Monday, 17 June 2024 22:36:28 UTC