http://d.puremagic.com/issues/show_bug.cgi?id=4742
Summary: int % BigInt should work
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from David Simcha <[email protected]> 2010-08-27 17:14:08 PDT ---
import std.bigint;
void main() {
BigInt i;
auto foo = 1 % i;
}
test9.d(5): Error: incompatible types for ((1) % (i)): 'int' and 'BigInt'
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------