[Issue 21987] New: https://dlang.org/spec/traits.html defaults to master and does not have most recent stable version available for selection

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 29 20:42:41 UTC 2021


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

          Issue ID: 21987
           Summary: https://dlang.org/spec/traits.html defaults to master
                    and does not have most recent stable version available
                    for selection
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: dlang.org
          Assignee: nobody at puremagic.com
          Reporter: n8sh.secondary at hotmail.com

A user just posted asking why the `__traits(toType, "i")` example from the
documentation isn't working on run.dlang.io. This confusion is caused by
https://dlang.org/spec/traits.html defaulting to showing master rather than the
most recent stable version. Worse though, the most recent stable version isn't
even selectable on that page! If a user tries to select a documentation version
other than master the most recent available is 2.081 which does not have
documentation for traits such as `isZeroInit` and `isModule` that have been
added since then.

--


More information about the Digitalmars-d-bugs mailing list