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: [email protected]
Reporter: [email protected]
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.
--