Summary: bigint implicit cast too bool
           Product: D
           Version: future
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos

--- Comment #0 from 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:
------- You are receiving this mail because: -------

Reply via email to