Bug 18192 – [404 Not Found] Broken link in D's Gems

Status
RESOLVED
Resolution
FIXED
Severity
trivial
Priority
P3
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-01-05T08:44:15Z
Last change time
2018-01-07T14:19:46Z
Assigned to
No Owner
Creator
Samuel

Comments

Comment #0 by snavarrolou — 2018-01-05T08:44:15Z
The link to TypeTuple is broken inside the Attributes section, within the D's Gems section. To reproduce, go to www.dlang.org -> Learn -> D's Gems -> Attributes, in the bottom of the page, there is a text that says "Any type, built-in or user-defined, can be attributed to functions. The function foo() in this example will have the attributes "Hello" (type string) and Bar (type Bar with value 10). To get the attributes of a function (or type) use the built-in compiler traits __traits(getAttributes, Foo) which returns a TypeTuple" In there, "TypeTuple" links to a nonexistent webpage.
Comment #1 by greensunny12 — 2018-01-07T14:19:46Z
Thanks a lot for your report! The fix is here: https://github.com/dlang-tour/english/pull/224 Please report future problem with the DTour here: https://github.com/dlang-tour/english