Timon Gehr:
Usually bugs are reported by the guy who finds them, but here you go:http://d.puremagic.com/issues/show_bug.cgi?id=8400
Thank you, already fixed, it seems. Even if the fix is the opposite of what I have thought (I was thinking about forbidding global immutables too to be used as compile-time constants, while this fix turns local immutables too into enums. I hope this change doesn't cause a large mess).
Bye, bearophile