http://d.puremagic.com/issues/show_bug.cgi?id=4397
Don <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |9953 --- Comment #16 from Don <[email protected]> 2013-04-18 01:54:50 PDT --- There is no compiler bug here, it is working as designed, at least for D2. However, the design doesn't make sense. I have opened bug 9953 for the design change. It would be possible to give the desired behaviour in D1, though it's hardly worthwhile. In D2 I think it is a logical impossibility. IMHO this should just fail to compile. You should write "static const" instead of "enum" when you want to declare a constant of a reference type. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
