http://d.puremagic.com/issues/show_bug.cgi?id=11148
--- Comment #1 from Joseph Rushton Wakeling
2013-09-30 10:45:39 PDT ---
Created an attachment (id=1254)
Can't pass immutable(BigInt) to function taking a BigInt argument.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?t
http://d.puremagic.com/issues/show_bug.cgi?id=11148
--- Comment #2 from Joseph Rushton Wakeling
2013-10-08 09:04:03 PDT ---
Created an attachment (id=1260)
Third example, which tests implicit, explicit and cast-based conversion
In fact, there is no reliable way to convert from a qualified Big
http://d.puremagic.com/issues/show_bug.cgi?id=11148
hst...@quickfur.ath.cx changed:
What|Removed |Added
CC||hst...@quickfur.ath.cx
--- Co
http://d.puremagic.com/issues/show_bug.cgi?id=11148
--- Comment #4 from Joseph Rushton Wakeling
2013-10-10 11:27:44 PDT ---
I think it's an issue that you can't pass an immutable(BigInt) to a function
that accepts a BigInt as input. This makes it difficult to e.g. write generic
functions that
http://d.puremagic.com/issues/show_bug.cgi?id=11148
--- Comment #5 from hst...@quickfur.ath.cx 2013-10-10 11:39:18 PDT ---
You can't pass an immutable(BigInt) to a function that takes unqual BigInt,
because that breaks the type system (and risks breaking immutability). The
function needs to take
http://d.puremagic.com/issues/show_bug.cgi?id=11148
--- Comment #6 from Joseph Rushton Wakeling
2013-10-10 11:55:30 PDT ---
(In reply to comment #5)
> If the function needs to modify the BigInt, then it should rightly reject any
> attempt to pass in an immutable BigInt.
Well, suppose you have
http://d.puremagic.com/issues/show_bug.cgi?id=11148
Brad Roberts changed:
What|Removed |Added
CC||bra...@puremagic.com
--- Comment #7 fr
http://d.puremagic.com/issues/show_bug.cgi?id=11148
Simen Kjaeraas changed:
What|Removed |Added
Keywords||pull
CC|
https://d.puremagic.com/issues/show_bug.cgi?id=11148
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- C
https://d.puremagic.com/issues/show_bug.cgi?id=11148
safety0ff.bugz changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
10 matches
Mail list logo