[Issue 21865] Grammar has no rule for Traits

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Apr 26 08:36:01 UTC 2021


Basile-z <b2.temp at gmx.com> changed:

           What    |Removed                     |Added
                 CC|                            |b2.temp at gmx.com
           Hardware|x86_64                      |All
                 OS|Linux                       |All

--- Comment #1 from Basile-z <b2.temp at gmx.com> ---
No, it must not be removed but the link must be fixed.

TypeTrait exists internally (search Ttrait).

The principle is analogous to QualifiedIdentifier. Just like them, __traits()
resolves to something that is a Type or not. And depending on that it is
rejected or not during the semantic passes.


More information about the Digitalmars-d-bugs mailing list