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: [email protected]
Reporter: [email protected]
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.
--
