[Issue 21876] Zero-length static arrays "cannot be read at compile time"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 29 08:32:37 UTC 2021


--- Comment #1 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
Compiler output:

test.d(4,9): Error: variable `a` cannot be read at compile time
test.d(7,14):        called from here: `test()`

It seems to have worked in 2.053? But not in 2.052 nor any version after it.


More information about the Digitalmars-d-bugs mailing list