[Issue 6766] Forward reference error for default struct/class arguments
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Wed Nov  5 17:29:32 PST 2014
    
    
  
https://issues.dlang.org/show_bug.cgi?id=6766
hsteoh at quickfur.ath.cx changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh at quickfur.ath.cx
--- Comment #1 from hsteoh at quickfur.ath.cx ---
Tested on git HEAD, the first case now works; the second case gives the error
message:
------
test.d(4): Error: no constructor for Foo
test.d(10): Error: cannot create a struct until its size is determined
------
So looks like the bug is partially fixed, but not quite there yet.
--
    
    
More information about the Digitalmars-d-bugs
mailing list