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: nob...@puremagic.com ReportedBy: nilsboss...@googlemail.com --- Comment #0 from Nils <nilsboss...@googlemail.com> 2013-01-26 01:41:03 PST --- --- 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: -------