enum on AA's and delegates debug info
Bert
Bert at gmail.com
Sun Jun 30 23:27:30 UTC 2019
an AA using an enum uses int as the base type rather than the
enum member name.
enum X { A, B, C};
AA[X] x;
will show
[0]
[1]
instead of
[A]
[B]
It shouldn't be hard to get it to display the names through
conversion.
Also,
delegates in an array do not show any value. This makes it
difficult to know if they actually any value. Maybe you could
just show the address of the delegate?
More information about the Digitalmars-d-ide
mailing list