D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 19374 - TypeVector undefined in grammar
Summary: TypeVector undefined in grammar
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: All All
: P1 minor
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2018-11-07 19:47 UTC by Peter Alexander
Modified: 2020-03-21 03:56 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Peter Alexander 2018-11-07 19:47:09 UTC
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 basile-z 2018-11-20 15:21:09 UTC
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 basile-z 2018-11-20 15:38:22 UTC
pull https://github.com/dlang/dlang.org/pull/2514
Comment 3 github-bugzilla 2018-11-20 22:05:53 UTC
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 <thewilsonator@users.noreply.github.com>