10 Dec
2014
10 Dec
'14
11:22 p.m.
On 10 December 2014 at 17:04, Olaf van der Spek
Compilers don't disallow if (0) and I think this construct could occur in (generic) code. Could the same be true for the variant case? I.e., is it always a bug?
We'll find out if we harden up get (which I also +1, BTW). :-) If someone really intends to take advantage of this, they can always rewrite their code to first check the type list. I suspect the number of people who deliberately use this feature to be indistinguishable from zero. :-) -- Nevin ":-)" Liber mailto:nevin@eviloverlord.com (847) 691-1404