W3C home > Mailing lists > Public > public-script-coord@w3.org > July to September 2013

[Bug 23056] Function's length property is inconsistent with EcmaScript

From: <bugzilla@jessica.w3.org>
Date: Wed, 28 Aug 2013 16:16:02 +0000
To: public-script-coord@w3.org
Message-ID: <bug-23056-3890-f18sNTuEun@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23056

--- Comment #11 from Allen Wirfs-Brock <allen@wirfs-brock.com> ---
(In reply to comment #10)
> This is pretty straightforward to spec in a way that matches ES6 without
> resorting to ES6 syntax.
> ...
>

But even better then trying to replicate the results of the ES6
ExpectedArguemntCount would be to just specify the translation of WebIDL
argument declarations into ES6 FormalParameter syntax.  Then it becomes
completely up to ES to define the initial value of the 'length' property.

In general we should be looking for ways to eliminate unnecessary redundancy
between WebIDL and ES. Much better to have a single concept spec'ed at exactly
one place.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 28 August 2013 16:16:04 UTC

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