https://issues.dlang.org/show_bug.cgi?id=5460
Andrei Alexandrescu changed:
What|Removed |Added
Version|D1 & D2 |D2
--
http://d.puremagic.com/issues/show_bug.cgi?id=5460
Andrej Mitrovic changed:
What|Removed |Added
Status|NEW |RESOLVED
Platform|Other
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
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