bigint compile time errors

Paul D Anderson via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jul 2 21:08:31 PDT 2015


On Friday, 3 July 2015 at 03:57:57 UTC, Anon wrote:
> On Friday, 3 July 2015 at 02:37:00 UTC, Paul D Anderson wrote:

>> enum BigInt test1 = BigInt(123);
>> enum BigInt test2 = plusTwo(test1);
>>
>> public static BigInt plusTwo(in bigint n)
>
> Should be plusTwo(in BigInt n) instead.
>

Yes, I had aliased BigInt to bigint.

And I checked and it compiles for me too with Windows m64. That 
makes it seem more like a bug than a feature.

I'll open a bug report.

Paul


More information about the Digitalmars-d-learn mailing list