[Issue 5460] enum of struct not calling constructor

2015-06-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5460 Andrei Alexandrescu changed: What|Removed |Added Version|D1 & D2 |D2 --

[Issue 5460] enum of struct not calling constructor

2013-09-17 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5460 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Platform|Other

[Issue 5460] enum of struct not calling constructor

2012-01-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5460 --- Comment #2 from Andrej Mitrovic 2012-01-04 07:33:27 PST --- The following has now changed into a CT error: enum Sizes : Size { Minimum = Size(10) } struct Size { int store; } void main() { } test.d(4): Error: Integer constant ex

[Issue 5460] enum of struct not calling constructor

2011-01-18 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5460 --- Comment #1 from Andrej Mitrovic 2011-01-18 09:38:13 PST --- *I meant constructing a struct with field assignment*, not regular field assignment after a struct was constructed. -- Configure issuemail: http://d.puremagic.com/issues/userpre