This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25993 - Why do we disallow overloading across partial interfaces?
Summary: Why do we disallow overloading across partial interfaces?
Status: NEW
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Cameron McCormack
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-05 14:30 UTC by Boris Zbarsky
Modified: 2015-01-22 16:46 UTC (History)
4 users (show)

See Also:


Attachments

Description Boris Zbarsky 2014-06-05 14:30:07 UTC
http://heycam.github.io/webidl/#idl-overloading explicitly disallows (with an example and everything) things like this:

  interface A {
    void f();
  };

  partial interface A {
    void f(float x);
  };

but I think we have specs doing this (e.g. shadow DOM) and this seems an OK thing to me in general, as long as people are careful.