https://d.puremagic.com/issues/show_bug.cgi?id=12306
--- Comment #1 from Jeroen Bollen <[email protected]> 2014-03-06 13:54:39 PST --- (In reply to comment #0) > Created an attachment (id=1337) [details] > Example Code - "dmd main.d" > > When a struct enum is defined like this, it's values cannot be read at compile > time. > enum Point3D point = {x:1, y:1, z:1}; > int testArray[point.x][point.y][point.z]; // z Cannot be read at > compile time (will error 6 times) > > Working (well, technically not working) code in attachment. Tested for both 32 > bit and 64 bit on a Linux system. Probably not important, but it errors 5 times and not 6. With adding and removing to the code I have found inconsistency in how many times it errors, and what variable it picks though. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
