Petal compiler, specification, and tools

any.md 287B

How do we implement the any type?

I can trivially write any as a sort of Variant, a tuple of a runtime type info object and a raw*. But that doesn’t mesh very well with int[] -> const(any)[] casts. We would have to make any[] into its own special type.

What about any[][]?