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

[Bug 21270] Introduce syntax for getters that keep returning the same object

From: <bugzilla@jessica.w3.org>
Date: Mon, 25 Mar 2013 05:44:00 +0000
To: public-script-coord@w3.org
Message-ID: <bug-21270-3890-yjCwFeQFC5@http.www.w3.org/Bugs/Public/>

--- Comment #3 from Cameron McCormack <cam@mcc.id.au> ---
I think this is would be a reasonable addition, although I think it should be
opt in rather than the default.  What about:

  interface Node {
    const attribute NodeList childNodes;

That reads nicely to me, with the small downside of complicating the LL(1)

You are receiving this mail because:
You are on the CC list for the bug.
Received on Monday, 25 March 2013 05:44:01 UTC

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