www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1726] New: std.stream FileMode documentation problems

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

           Summary: std.stream FileMode documentation problems
           Product: D
           Version: 1.024
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: wbaxter gmail.com


Issue 1 is that the FileMode default arguments in the D1 version of the
documentation are screwed up.  Instead of seeing symbolic constants you see
things like "Filemode mode=cast(FileMode)1".  It's ok in the D2 version of the
doc, so maybe the D1 documentation just needs to be re-generated.

Second, the FileMode enum really needs a doc comment added.  It doesn't have
one currently (in either D1 or D2) so the only way to figure out what the
possible values are is from the documentation from the constructor of one
particular class way down near the end of the doc page.


-- 
Dec 11 2007