2010/3/13 Jonathan S. Shapiro <[email protected]>: > 2. Reject unboxed unions containing references as "CLI unsafe". This > is probably the most feasible solution. > 3. Implement all unions containing references as boxed, but implement > the copy semantics of unboxed unions for them.
I'd favor option 3. Rejecting unboxed unions would affect the design of the standard library, making it difficult to add them later. Someone might discover a hack to implement them under the CLR, and a native code backend could certainly use unboxed unions in the standard library. _______________________________________________ bitc-dev mailing list [email protected] http://www.coyotos.org/mailman/listinfo/bitc-dev
