digitalmars.D.bugs - [Issue 20194] New: .di files are not stripped of constructor
- d-bugmail puremagic.com (35/35) Sep 06 2019 https://issues.dlang.org/show_bug.cgi?id=20194
https://issues.dlang.org/show_bug.cgi?id=20194 Issue ID: 20194 Summary: .di files are not stripped of constructor definitions Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: maxsamukha gmail.com test.d: class A { this() {} } struct S { this(int x) {} } test.di generated with 'dmd -H -o- test.d' retains constructor definitions: // D import file generated from 'test.d' class A { this() { } } struct S { this(int x) { } } --
Sep 06 2019