http://d.puremagic.com/issues/show_bug.cgi?id=6519
Don <clugd...@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |clugd...@yahoo.com.au Summary|[CTFE] Problem with inout |[CTFE] Problem with inout | |and enum type inference --- Comment #1 from Don <clugd...@yahoo.com.au> 2011-08-17 08:49:42 PDT --- This is an enum bug, not a CTFE problem. Here's a reduced test case: inout(int) foo(inout int data) { return data; } enum int e1 = foo(7); // OK enum e1 = foo(7); // fails! It thinks that you're trying to declare an enum of type 'inout(int)'. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------