[Issue 12549] New: Immutable can't be casted when using nested pointers

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 8 14:12:30 PDT 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12549

           Summary: Immutable can't be casted when using nested pointers
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: jbinero at gmail.com


--- Comment #0 from Jeroen Bollen <jbinero at gmail.com> 2014-04-08 14:12:22 PDT ---
Created an attachment (id=1343)
example file

When using nested pointers, DMD seems to not be able to realize immutable is
also constant. It'll result in errors similar to:

"function app.test2 (const(char)** test2) is not callable using argument types
(immutable(char)**)"

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


More information about the Digitalmars-d-bugs mailing list