W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2012

Re: [WEBIDL] nullable dictionary

From: Cameron McCormack <cam@mcc.id.au>
Date: Wed, 08 Aug 2012 17:06:43 +1000
Message-ID: <50221003.4050705@mcc.id.au>
To: Jungkee Song <jungkee.song@samsung.com>
CC: 'WebApps WG' <public-webapps@w3.org>
Hi Jungkee,

Jungkee Song:
> While reading about "dictionary" from your "Web IDL (Second Edition)" draft,
> I found a part that needs clarification:
>
> ----->8-----
> 3.3 Dictionaries
> If the Type is an identifier or an identifier followed by ?, then the
> identifier must identify an interface, *dictionary*, enumeration, callback
> function or typedef.
> ----->8-----
> The spec allows dictionary type to go "nullable" here.
>
> ----->8-----
> 3.10.22 Nullable types
> The inner type must not be any, a *dictionary* type, another nullable type,
> or a union type that itself has includes a nullable type or has a dictionary
> type as one of its flattened member types.
> ----->8-----
> It does not allow "nullable" here.
>
>  From the mail history I looked up, the intention is to not allow nullable
> dictionary type any more. It that right?

That's right.  I've corrected that description of allowable dictionary 
member types, as well as for operation return types and arguments.

Thanks,

Cameron
Received on Wednesday, 8 August 2012 07:07:18 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:54 GMT