[Issue 11148] New: Can't implicitly convert const(BigInt) or immutable(BigInt) to BigInt
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Sep 30 10:45:09 PDT 2013
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: nobody at puremagic.com
ReportedBy: joseph.wakeling at webdrake.net
--- Comment #0 from Joseph Rushton Wakeling <joseph.wakeling at webdrake.net> 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: -------
More information about the Digitalmars-d-bugs
mailing list