[Issue 5651] Named enum doesn't work with associative arrays
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Feb 4 20:47:18 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5651
yebblies <yebblies at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |yebblies at gmail.com
Resolution| |INVALID
--- Comment #1 from yebblies <yebblies at gmail.com> 2012-02-05 15:47:17 EST ---
Not a bug, the first declaration is essentially a horrible way to write:
enum int[string] Circle = ["CoolCircle":50];
While the second is an enum declaration, and enums do not support AAs as a base
type.
--
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