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

           Summary: Can't implicitly convert const(BigInt) or
                    immutable(BigInt) to BigInt
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Joseph Rushton Wakeling <[email protected]> 
2013-09-30 10:45:06 PDT ---
Created an attachment (id=1253)
Can't pass const(BigInt) to a function taking a BigInt argument.

const(BigInt) or immutable(BigInt) objects can't be assigned/implicitly
converted to mutable BigInt values.  The attached code gives examples where a
const or immutable BigInt is passed to a function taking a (mutable) BigInt
argument.

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

Reply via email to