Bug 18782 – Documentation error: ProtectionAttributes should say Visibility Attributes

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-04-20T00:14:53Z
Last change time
2018-06-18T21:24:26Z
Keywords
pull
Assigned to
No Owner
Creator
James Blachly

Comments

Comment #0 by james.blachly — 2018-04-20T00:14:53Z
This section: https://dlang.org/spec/class.html#access_control links to: https://dlang.org/spec/attribute.html#ProtectionAttribute but should link to: https://dlang.org/spec/attribute.html#visibility_attributes As the anchor #ProtectionAttribute does not exist, nor does the term in the attributes definitions page.
Comment #1 by ag0aep6g — 2018-04-20T08:31:09Z
Comment #2 by github-bugzilla — 2018-06-18T21:24:26Z
Commits pushed to master at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/7c328266beac7f125bde5edc134d9fca9252e45d fix issue 18782 - Documentation error: ProtectionAttributes should say Visibility Attribute Also removing the outdated statement that visibility is not affected. Since DIP22, `private`, `public`, etc. do affect visibility. https://github.com/dlang/dlang.org/commit/78a09865cb0248edab239af41759948423ec3d90 Merge pull request #2350 from aG0aep6G/18782 fix issue 18782 - Documentation error: ProtectionAttributes should say Visibility Attribute