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/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21270

--- 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)
grammar.

-- 
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.3.1 : Wednesday, 8 May 2013 19:30:09 UTC