Bug 22835 – Undocumented type specializations of is-expression

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2022-03-01T20:08:44Z
Last change time
2023-02-21T17:58:03Z
Keywords
pull
Assigned to
No Owner
Creator
Dennis

Comments

Comment #0 by dkorpel — 2022-03-01T20:08:44Z
The grammar for is-expressions list the following type specializations: ``` TypeSpecialization: Type struct union class interface enum __vector function delegate super const immutable inout shared return __parameters module package ``` The spec says: > If TypeSpecialization is one of struct union class interface enum function delegate > const immutable shared then the condition is satisfied if Type is one of those. > Furthermore, Identifier is set to be an alias of the type: A table follows with: ``` struct union class interface super enum function delegate return __parameters const immutable shared ``` - __parameters, super and return are missing from the sentence - inout and __vector are missing from the table - module and package are undocumented
Comment #1 by dlang-bot — 2022-07-23T14:30:06Z
@ntrel created dlang/dlang.org pull request #3352 "Fix Issue 22835 - Undocumented type specializations of isExpression" fixing this issue: - Fix Issue 22835 - Undocumented type specializations of isExpression Add missing inout, module, package. Note: __parameters, super, return, __vector were added in a previous PR. https://github.com/dlang/dlang.org/pull/3352
Comment #2 by dlang-bot — 2022-07-23T19:12:25Z
dlang/dlang.org pull request #3352 "Fix Issue 22835 - Undocumented type specializations of isExpression" was merged into master: - 5e2c16102d35698c6e53e4acd6b3561e08f4a713 by Nick Treleaven: Fix Issue 22835 - Undocumented type specializations of isExpression Add missing inout, module, package. Note: __parameters, super, return, __vector were added in a previous PR. https://github.com/dlang/dlang.org/pull/3352
Comment #3 by nick — 2023-02-21T17:58:03Z
*** Issue 21242 has been marked as a duplicate of this issue. ***