[Issue 12275] csvReader and static assert consumes too much memory

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 4 15:25:28 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=12275

berni44 <bugzilla at d-ecke.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at d-ecke.de

--- Comment #1 from berni44 <bugzilla at d-ecke.de> ---
Meanwhile I get

test.d(7): Error: variable `test.main.r` : Unable to initialize enum with class
or pointer to struct. Use static const variable instead.

static const doesn't work either:

/usr/include/dmd/phobos/std/range/primitives.d(2258): Error: non-constant
expression ",b,c\x0ad,e,f"[]

--


More information about the Digitalmars-d-bugs mailing list