On 02/04/2013 9:21 AM, John Clements wrote:
In running parse tests, I discovered a file from 2010, alt-type-simple.rs, that is an (xfail'ed) test of a feature that would have allowed type dispatch. It looks to me like this is pretty deeply incompatible with the current approach to typing, so I'm removing this test. Lemme know if this is a mistake.
Yes. We were going to have an 'any' type and type-switch built in to the language. We decided against it and I've seen no plans to revive the concept as far as I know. Maybe for 2.0.
-Graydon _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
