digitalmars.D.bugs - [Issue 15211] New: BigInt%uint and BigInt%ulong return different types
- via Digitalmars-d-bugs (21/21) Oct 16 2015 https://issues.dlang.org/show_bug.cgi?id=15211
https://issues.dlang.org/show_bug.cgi?id=15211 Issue ID: 15211 Summary: BigInt%uint and BigInt%ulong return different types Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: thecybershadow gmail.com import std.bigint; pragma(msg, typeof(BigInt.init%uint.init)); pragma(msg, typeof(BigInt.init%ulong.init)); Prints: int BigInt This is especially annoying when the second operand is a size_t. --
Oct 16 2015