[Issue 5795] enum x = CustomType; should be a syntax error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 9 07:54:44 PDT 2011


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


Stewart Gordon <smjg at iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com
           Severity|normal                      |regression


--- Comment #1 from Stewart Gordon <smjg at iname.com> 2011-04-09 07:51:04 PDT ---
(In reply to comment #0)
> In 2.042 this was a syntax error. http://ideone.com/BNcSh

Looks to me like a semantic, not syntax, error.  It can't be a syntax error,
because that would cause it to fail if Bar is the name of a compile-time
constant.

-- 
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