[Issue 11440] struct initialization with partially initialized data crashes
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Nov 4 15:09:37 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=11440
burg.basile at yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burg.basile at yahoo.com
--- Comment #2 from burg.basile at yahoo.com 2013-11-04 15:09:34 PST ---
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.
--
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