Bug 19374 – TypeVector undefined in grammar

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-11-07T19:47:09Z
Last change time
2020-03-21T03:56:42Z
Keywords
pull
Assigned to
No Owner
Creator
Peter Alexander

Comments

Comment #0 by peter.alexander.au — 2018-11-07T19:47:09Z
BasicType references TypeVector, but TypeVector is undefined (apart from the ABI definition, which is unrelated). I'm guessing this is supposed to refer to the vector extensions? Perhaps the following rule will suffice: TypeVector: '__vector' '(' Type ')'
Comment #1 by b2.temp — 2018-11-20T15:21:09Z
dparse was affected by this missing rule. It's actually: TypeVector: '__vector' '__vector' '(' Type ')' because things like if `(is(T == __vector))` are valid.
Comment #2 by b2.temp — 2018-11-20T15:38:22Z
Comment #3 by github-bugzilla — 2018-11-20T22:05:53Z
Commits pushed to master at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/c9f62f231bd6ad8018e8054c700e1e2459f36ed0 fix issue 19374 - TypeVector undefined in grammar https://github.com/dlang/dlang.org/commit/db180069e4864e85abef104129e1b4aa663addd5 Merge pull request #2514 from BBasile/issue-19374 fix issue 19374 - TypeVector undefined in grammar merged-on-behalf-of: Nicholas Wilson <[email protected]>