[Issue 10025] Implicit conversion for bigint array append

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Aug 2 21:27:10 PDT 2013


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


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies at gmail.com
          Component|Phobos                      |DMD
           Severity|normal                      |enhancement


--- Comment #1 from yebblies <yebblies at gmail.com> 2013-08-03 14:27:07 EST ---
>     p[0] = 1;         // OK

This is assignment, so it works.

>    p ~= 1;           // Error

This would be implicit construction of a BigInt from an int.

That makes this an enhancement request for implicit construction on append.

-- 
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