digitalmars.D.bugs - [Issue 19734] New: isDataseg returns true for non-static declarations
- d-bugmail puremagic.com (24/24) Mar 13 2019 https://issues.dlang.org/show_bug.cgi?id=19734
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 puremagic.com Reporter: ibuclaw 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. --
Mar 13 2019