Re: [whatwg/webidl] Should a read–write maplike/setlike interface be allowed having static operations with same name as set methods, e.g. clear, delete ... (Issue #1280)

Okay, than I guess we could update them to something like
> Maplike interfaces must not have any [attributes](https://webidl.spec.whatwg.org/#dfn-attribute), [constants](https://webidl.spec.whatwg.org/#dfn-constant), or [regular operations](https://webidl.spec.whatwg.org/#dfn-regular-operation) named "entries", "forEach", "get", "has", "keys", "size", or "values", or have any [inherited interfaces](https://webidl.spec.whatwg.org/#dfn-inherited-interfaces) that have [attributes](https://webidl.spec.whatwg.org/#dfn-attribute), [constants](https://webidl.spec.whatwg.org/#dfn-constant) or [regular operations](https://webidl.spec.whatwg.org/#dfn-regular-operation) with these names.

Will send a pull request then.

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

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

Received on Thursday, 16 March 2023 13:20:29 UTC