[Issue 19734] New: isDataseg returns true for non-static declarations
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Wed Mar 13 10:31:29 UTC 2019
    
    
  
https://issues.dlang.org/show_bug.cgi?id=19734
          Issue ID: 19734
           Summary: isDataseg returns true for non-static declarations
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: ibuclaw at gdcproject.org
In the following example:
class A
{
  extern
  {
    void f() { int a; }
  }
}
All declarations enclosed inside 'extern' are marked as STCextern, even the
'this' parameter, making isDataseg() wrongly return true.
--
    
    
More information about the Digitalmars-d-bugs
mailing list