[Issue 11440] struct initialization with partially initialized data	crashes
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Mon Nov  4 15:29:26 PST 2013
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=11440
--- Comment #3 from burg.basile at yahoo.com 2013-11-04 15:29:24 PST ---
(In reply to comment #2)
> import std.stdio;
> 
> struct Y {
>   private:
>     immutable(int)[] _data;
>     immutable(int)[] _data2;
> }
> 
> struct CFS {
>   double x = 5;
>   Y growth;
> }
> 
> void main() {
>   auto s = CFS(1.0);
>   writeln(s);
> }
> 
> runs.
> 
> It seems to be more related to the the "private" token.
EDIT:
BTW either with private: or private{*/two or more declarations/*}
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list