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

[Bug 25051] New: "The return type of the operation is given by th..."

From: <bugzilla@jessica.w3.org>
Date: Fri, 14 Mar 2014 17:13:39 +0000
To: public-script-coord@w3.org
Message-ID: <bug-25051-3890@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25051

            Bug ID: 25051
           Summary: "The return type of the operation is given by th..."
           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: domenic@domenicdenicola.com, mike@w3.org,
                    public-script-coord@w3.org

http://heycam.github.io/webidl/#idl-operations

> The return type of the operation is given by the type (matching ReturnType)
> that appears before the operation’s optional identifier.

What does that mean in the case of overloads?

In particular, what should happen with operations which have some overloads
returning a Promise and some not?

I propose we disallow having some overloads return Promise while others don't.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Friday, 14 March 2014 17:13:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:51 UTC