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
Use of maplike/setlike should not affect static attributes/operations (but should affect constants, as it does now, since those go on the proto too).
The mutator methods (clear, add, set, delete) should not be allowed to shadow a method on an inherited interface. But having them on the interface itself or its consequential interfaces should be OK (as now) and just inhibit autogeneration of the method.
The text was updated successfully, but these errors were encountered:
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.
Two changes:
Use of maplike/setlike should not affect static attributes/operations (but should affect constants, as it does now, since those go on the proto too).
The mutator methods (clear, add, set, delete) should not be allowed to shadow a method on an inherited interface. But having them on the interface itself or its consequential interfaces should be OK (as now) and just inhibit autogeneration of the method.
The text was updated successfully, but these errors were encountered: