[Issue 5923] New: .ptr property is not const for const arrays

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 3 04:28:38 PDT 2011


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

           Summary: .ptr property is not const for const arrays
           Product: D
           Version: D1
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: mathias.baumann at sociomantic.com


--- Comment #0 from Mathias Baumann <mathias.baumann at sociomantic.com> 2011-05-03 04:24:48 PDT ---
Created an attachment (id=958)
testcase

see the attached testcase.

the &var[0] syntax works while the var.ptr syntax fails.

-- 
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