On Fri, Aug 30, 2013 at 12:54 AM, Jonathan S. Shapiro <[email protected]>wrote:

>
> Yes. That's a big issue. Shifting the fixed-size arrays to the bottom is a
> useful special case, but it is defeated if further child classes are
> derived.
>
> _______________________________________________
>

string is sealed for 2 reason
1. Its variable sized and subtypes would create issues  with the allocation
hack
2. It is treated specially by the GC as discussed and a subtype could have
ref that would invalidate that.

No reason we couldnt say variable sized types need to be sealed..

Ben
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to