http://d.puremagic.com/issues/show_bug.cgi?id=8919
Summary: & for BigInt Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2012-10-31 03:58:57 PDT --- import std.bigint; void main() { BigInt x = 10; BigInt y = 20; auto z = x & y; auto w = x & -y; } DMD 2.061alpha gives: test.d(5): Error: 'x' is not of integral type, it is a BigInt test.d(5): Error: 'y' is not of integral type, it is a BigInt test.d(6): Error: 'x' is not of integral type, it is a BigInt test.d(6): Error: 'y.opUnary()' is not of integral type, it is a BigInt -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------