Comment #0 by andrej.mitrovich — 2012-03-03T18:00:30Z
// enum str = ""; // comment out to avoid crash
void main()
{
enum foo =
[
str : "functions",
];
}
When 'auto' is used it doesn't crash the compiler but gives a nice error message:
Error: undefined identifier str
Comment #1 by github-bugzilla — 2012-03-30T19:53:33Z