[Issue 20074] New: header file generation doesn't include attributes with CallExp

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 22 22:37:11 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=20074

          Issue ID: 20074
           Summary: header file generation doesn't include attributes with
                    CallExp
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: kubo39 at gmail.com

Tested dmd version: 2.079.1 / 2.087.0

Input:

---
// dmd -c -Hf=hdrgenbug.di hdrgenbug.d

class C
{
    this() @safe
    {
        () @trusted
        {
        } ();
    }
}
---

Output:

---
class C
{
        @safe this()
        {
                ()
                {
                }
                ();
        }
}
---

--


More information about the Digitalmars-d-bugs mailing list