Fix Issue 12494 - to!string(enum) incorrect value
Merge pull request #2059 from monarchdodra/12494

Fix  Issue 12494 - Regression (2.064): to!string(enum) returns incorrect value