W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2015

Overload of Dictionary and Callback - why is this disallowed?

From: Harald Alvestrand <harald@alvestrand.no>
Date: Tue, 1 Dec 2015 15:56:29 +0100
To: "public-script-coord@w3.org" <public-script-coord@w3.org>
Message-ID: <565DB51D.9020606@alvestrand.no>
I have a case where we'd like to overload a dictionary argument with a
callback argument (why is a long story).

But the table at http://heycam.github.io/webidl/#idl-overloading says
that dictionary, callback functions and objects aren't distinguishable
from each other.

Can someone point me to an explanation of why?

Received on Tuesday, 1 December 2015 14:57:02 UTC

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