[Issue 11148] Can't implicitly convert const(BigInt) or immutable(BigInt) to BigInt

2013-09-30 Thread d-bugmail
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

[Issue 11148] Can't implicitly convert const(BigInt) or immutable(BigInt) to BigInt

2013-10-08 Thread d-bugmail
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

[Issue 11148] Can't implicitly convert const(BigInt) or immutable(BigInt) to BigInt

2013-10-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=11148 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --- Co

[Issue 11148] Can't implicitly convert const(BigInt) or immutable(BigInt) to BigInt

2013-10-10 Thread d-bugmail
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

[Issue 11148] Can't implicitly convert const(BigInt) or immutable(BigInt) to BigInt

2013-10-10 Thread d-bugmail
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

[Issue 11148] Can't implicitly convert const(BigInt) or immutable(BigInt) to BigInt

2013-10-10 Thread d-bugmail
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

[Issue 11148] Can't implicitly convert const(BigInt) or immutable(BigInt) to BigInt

2013-10-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=11148 Brad Roberts changed: What|Removed |Added CC||bra...@puremagic.com --- Comment #7 fr

[Issue 11148] Can't implicitly convert const(BigInt) or immutable(BigInt) to BigInt

2013-11-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=11148 Simen Kjaeraas changed: What|Removed |Added Keywords||pull CC|

[Issue 11148] Can't implicitly convert const(BigInt) or immutable(BigInt) to BigInt

2013-11-18 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11148 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- C

[Issue 11148] Can't implicitly convert const(BigInt) or immutable(BigInt) to BigInt

2014-02-05 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=11148 safety0ff.bugz changed: What|Removed |Added Status|NEW |RESOLVED CC|