https://issues.dlang.org/show_bug.cgi?id=12920
Martin Krejcirik <m...@krej.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m...@krej.cz Hardware|x86_64 |All OS|Linux |All --- Comment #4 from Martin Krejcirik <m...@krej.cz> --- (In reply to Marc Schütz from comment #3) > Is it really a duplicate? The code in the other bug is clearly invalid, but > this one should work IMO. In this example 'v' is a runtime variable and as such it cannot be a case variable. If a,b,c were enums, it would compile. But I don't understand why uint a,b,c gives error message Error: variable v cannot be read at compile time but int a,b,c does not. So maybe it's a different bug. --