Nullable union types containing other nullable types

Consider this idl:

   void foo((A? or B)? arg);

Is this allowed?  At first glance, it is.

Should this be allowed?  I guess there's no reason it shouldn't be; it 
just seems weird to write IDL like that...  Passing null or undefined 
would just convert to IDL null because the union is nullable, o the '?' 
after A is just pointless, right?

-Boris

Received on Wednesday, 11 April 2012 16:36:26 UTC