Re: [webidl] Improve restrictions on attributes/operations when maplike/setlike are used (#49)

Consider this IDL:

    interface Foo {
      static boolean has();
      setlike<long>;
    };

Per current spec this would be disallowed.  The proposal is that it be allowed.  The setlike declaration will create a method called `has` on `Foo.prototype`, and the static thing will create a method called `has` on `Foo`, but there's no conflict there, so no reason to forbid this IDL.

---
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/49#issuecomment-93895650

Received on Friday, 17 April 2015 05:22:36 UTC