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

Status
NEW
Severity
major
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-05-29T20:42:41Z
Last change time
2024-12-15T15:27:01Z
Assigned to
No Owner
Creator
Nathan S.
Moved to GitHub: dlang.org#4115 →

Comments

Comment #0 by n8sh.secondary — 2021-05-29T20:42:41Z
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.
Comment #1 by robert.schadek — 2024-12-15T15:27:01Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dlang.org/issues/4115 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB