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?

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

This archive was generated by hypermail 2.3.1 : Tuesday, 1 December 2015 14:57:03 UTC