[Issue 4119] New: bigint string assign
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Apr 24 15:46:16 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4119
Summary: bigint string assign
Product: D
Version: future
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2010-04-24 15:46:15 PDT ---
I'd like this code to work:
import std.bigint: BigInt;
void main() {
BigInt i;
i = "100_000_000_000_000_000_000_000_000_000";
}
With dmd 2.043 it prints:
test.d(4): Error: template bigint.BigInt.opAssign(T : long) does not match any
function template declaration
test.d(4): Error: template bigint.BigInt.opAssign(T : long) cannot deduce
template function from argument types !()(string)
--
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