[Issue 22775] The __traits does not see the scope attribute
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Thu Feb 17 07:28:52 UTC 2022
    
    
  
https://issues.dlang.org/show_bug.cgi?id=22775
Walter Bright <bugzilla at digitalmars.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> ---
What's happening is that `S` does not have any pointers in it. `scope` only
applies to pointers, otherwise it is ignored. That's why it never shows up.
If `S` has a pointer member, it shows up.
This is expected behavior.
--
    
    
More information about the Digitalmars-d-bugs
mailing list