digitalmars.D.bugs - [Issue 9400] New: initializing enum T[n] with a single value changes its type to T
- d-bugmail puremagic.com (26/26) Jan 26 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9400
- d-bugmail puremagic.com (11/11) Jul 12 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9400
http://d.puremagic.com/issues/show_bug.cgi?id=9400 Summary: initializing enum T[n] with a single value changes its type to T Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: nilsbossung googlemail.com --- --- cat > test.d <<CODE enum int[3] x = 42; static assert(is(typeof(x) == int[3])); CODE dmd -c test.d --- test.d(2): Error: static assert (is(int == int[3u])) is false --- -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 26 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9400 Nils <nilsbossung googlemail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- apparently fixed in the meantime -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 12 2013