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

[Bug 23602] "optional any" is nonsense that should be disallowed

From: <bugzilla@jessica.w3.org>
Date: Wed, 23 Oct 2013 06:49:15 +0000
To: public-script-coord@w3.org
Message-ID: <bug-23602-3890-6u5hteLWYp@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23602

--- Comment #1 from Cameron McCormack <cam@mcc.id.au> ---
If we do that then we should do something similar for dictionary members,
making

  dictionary A {
    any x;
  };

  interface B {
    void f(A a);
  };

  b.f({ x: undefined });

mean that x is present with the undefined value, rather than not present as is
currently specced.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 23 October 2013 06:49:17 UTC

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