[Issue 22145] Wrong error message when `scope` errors are detected in foreach body
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Thu Feb 17 08:15:40 UTC 2022
    
    
  
https://issues.dlang.org/show_bug.cgi?id=22145
Walter Bright <bugzilla at digitalmars.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com
--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
It seems when the compiler creates the foreach delegate, it does not add in
`scope` qualifications. This is likely because that part of the implementation
is very, very old and has not been touched in a long time.
--
    
    
More information about the Digitalmars-d-bugs
mailing list