W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2016

[Bug 29713] Feature request: add rest parameter

From: <bugzilla@jessica.w3.org>
Date: Wed, 29 Jun 2016 15:33:55 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29713-523-wozT97qUaI@http.www.w3.org/Bugs/Public/>

--- Comment #9 from Michael Dyck <jmdyck@ibiblio.org> ---
We might be able to make it work in the current model by saying that declaring
a function with a rest parameter adds an infinite set of entries to the
statically known function signatures and the named functions.

So Abel's example in comment 5 would be a static error, but if we ignore the
fixed-arity declaration (and also the odd syntax for function decls), then the
questions about named function references remain. My inclination would be that
they all return the same function value. That'd be simpler than fabricating an
infinite set of different function values, one for each different arity.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 29 June 2016 15:34:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:01 UTC