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 25051 - "The return type of the operation is given by th..."
Summary: "The return type of the operation is given by th..."
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-03-14 17:13 UTC by Boris Zbarsky
Modified: 2015-06-05 13:26 UTC (History)
4 users (show)

See Also:


Attachments

Description Boris Zbarsky 2014-03-14 17:13:39 UTC
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.