http://d.puremagic.com/issues/show_bug.cgi?id=5460



--- Comment #2 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 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 expression expected instead of Size(10)
test.d(4): Error: Integer constant expression expected instead of Size(10)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to