http://d.puremagic.com/issues/show_bug.cgi?id=3223

           Summary: bool value conversions from "false" and "true" are
                    missing
           Product: D
           Version: 2.029
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P3
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: acehr...@yahoo.com


false and true are outputted as "false" and "true". It is natural to have the
opposite conversions as well. The following program outputs 

  Segmentation fault

when "false" is sent to its standard input:

  import std.cstream;

  void main()
  {
      bool b;
      din.readf(&b);
  }

There doesn't seem to be any conversion from "false" and "true" to bool
anywhere in Phobos.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to