← Back to index
|
Original Bugzilla link
Bug 8921 – Enum arrays should be formatted properly
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-10-31T04:02:00Z
Last change time
2014-04-25T19:47:51Z
Keywords
pull
Assigned to
andrej.mitrovich
Creator
bearophile_hugs
Comments
Comment #0
by bearophile_hugs — 2012-10-31T04:02:27Z
import std.stdio: writeln; enum Foo : char { A = 'a' } void main() { writeln(Foo.A); Foo[3] bar; writeln(bar); } Expected output: A [A, A, A] Received output (dmd 2.061alpha): A aaa
Comment #1
by andrej.mitrovich — 2014-04-24T19:22:50Z
https://github.com/D-Programming-Language/phobos/pull/2122
Comment #2
by github-bugzilla — 2014-04-25T19:47:50Z
Commits pushed to master at
https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/e2f65496063b20c347f4aba40c3ecd0eb18b57b1
Fix Issue 8921 - Enum arrays should be formatted properly.
https://github.com/D-Programming-Language/phobos/commit/73ae97b56453f21180dcfe3882861e1588a98f0b
Merge pull request #2122 from AndrejMitrovic/Fix8921 Issue 8921 - Enum arrays should be formatted properly