www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14799] New: Documentation for std.zlib.compress is incorrect

https://issues.dlang.org/show_bug.cgi?id=14799

          Issue ID: 14799
           Summary: Documentation for std.zlib.compress is incorrect
           Product: D
           Version: D2
          Hardware: All
               URL: http://dlang.org/phobos/std_zlib.html#.compress
                OS: All
            Status: NEW
          Severity: minor
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: briancschott gmail.com

The documentation for std.zlib.compress states that the valid values for the
"level" parameter are 1-9, with 6 being the default. The actual valid values
are 0-9, and there is no default argument for the level parameter.

--
Jul 14 2015