[Issue 10151] final: before enum is now an error.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu May 23 18:22:01 PDT 2013


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



--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2013-05-23 18:22:00 PDT ---
(In reply to comment #0)
> final:
> 
> enum Foo { Bar }
> 
> Used to compile. Is an error in git master :
> Error: variable module.Bar final cannot be applied to variable, perhaps you
> meant const?

(In reply to comment #1)
> This does compile with 2.063 beta. Are you working off of the 2.063 branch?

The root cause would be same as bug 10144. @deadalnix, could you please give us
a complete test case which can reproduce the error?

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


More information about the Digitalmars-d-bugs mailing list