[Issue 9519] New: constant bug in structures

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 16 06:21:22 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9519

           Summary: constant bug in structures
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: magnus_lindberg at live.se


--- Comment #0 from magnus_lindberg at live.se 2013-02-16 06:21:21 PST ---
Constants & immutables inside structures does not evaluate properly (if you
define the same thing outside the structure scope then it works fine).

Code demonstrating the bug:
http://codepad.org/NxV20KT2

I have not tested if it goes the same on anyother platform.

Compiler version: 2.61

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list