Re: Nullable and array?

Dominique Hazael-Massieux:
> I think the current WebIDL editors draft doesn't allow to use nullable
> arrays, as in e.g.:
> interface test {
>  attribute DOMString[] foo;
> };
> Since nullable sequences are allowed, I assume this is a bug.

The T[] type already can be the value null, which is why you can’t write
“T[]?”.  I think it makes sense to revise this to remove the null as
part of

Cameron McCormack ≝

Received on Monday, 9 May 2011 22:20:53 UTC