- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Mon, 09 Apr 2012 23:03:56 -0400
- To: Cameron McCormack <cam@mcc.id.au>
- CC: "public-script-coord@w3.org" <public-script-coord@w3.org>
On 4/9/12 10:56 PM, Cameron McCormack wrote: > Boris Zbarsky: >> Should (void 0) converted to the right IDL type be assumed as the >> default value? If not, how is this supposed to actually work? > > No, they should just be considered "not specified". If you write: > > void f(optional long x = 0); > > Then the prose for f can just assume that x always has a value, but if > you write say: > > void g(optional object x); > > then the prose for g will need wording like "If x was specified, then ...". Aha. Alright, thanks. -Boris
Received on Tuesday, 10 April 2012 03:04:28 UTC