W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2014

[Bug 25993] New: Why do we disallow overloading across partial interfaces?

From: <bugzilla@jessica.w3.org>
Date: Thu, 05 Jun 2014 14:30:07 +0000
To: public-script-coord@w3.org
Message-ID: <bug-25993-3890@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25993

            Bug ID: 25993
           Summary: Why do we disallow overloading across partial
                    interfaces?
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
          Assignee: cam@mcc.id.au
          Reporter: bzbarsky@mit.edu
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 5 June 2014 14:30:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:21 UTC