http://d.puremagic.com/issues/show_bug.cgi?id=4120
Summary: bigint implicit cast too bool Product: D Version: future Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2010-04-24 15:49:39 PDT --- I'd like this code to work: import std.bigint: BigInt; void main() { BigInt b = 1; if (b) int r = 10; } With an opCast(bool). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------