 
            
            
            
            
                11 Dec
                
                    2014
                
            
            
                11 Dec
                
                '14
                
            
            
            
        
    
                12:22 a.m.
            
        On 10 December 2014 at 17:04, Olaf van der Spek <ml@vdspek.org> wrote:
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