[Issue 285] New: Struct method null pointer assert has line	number of "0"
    Jarrett Billingsley 
    kb3ctd2 at yahoo.com
       
    Sat Aug 12 21:16:17 PDT 2006
    
    
  
"kris" <foo at bar.com> wrote in message 
news:ebln9m$24kh$1 at digitaldaemon.com...
> Cute and all; but I sure hope such codegen is disabled via a switch such 
> as -release ...
Indeed it is, just like array bounds checking and the like.  In fact, all it 
does is insert an implicit "assert(this !is null)", and since it's like any 
other assert, it compiles out in release mode. 
    
    
More information about the Digitalmars-d-bugs
mailing list