[Issue 1069] No error on type mismatch with varargs
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Apr 11 20:13:52 PDT 2007
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=1069
------- Comment #6 from point14 at magma.ca  2007-04-11 22:13 -------
In the context of the example above, here is another flavor:
class C
{   
    this()
    {   
        add({Stdout("inline").newline;})
    }
... [rest as above]
Would this add a delegate that will be invalid after the constructor returns
and thus I should avoid doing it?
If yes, is this something that would ever be changed in D such that is would be
"okay" to do?
Thanks.
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list