September 03, 2020 [Issue 21218] New: dtoh: protected attribute should be emitted to headers | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21218 Issue ID: 21218 Summary: dtoh: protected attribute should be emitted to headers Product: D Version: D2 Hardware: All OS: Linux Status: NEW Keywords: bootcamp Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: greeenify@gmail.com ``` extern(C++) struct Foo { protected int a = 1; } ``` generates currently: ``` struct Foo { int32_t a; Foo() {} }; ``` expected: ``` struct Foo { protected int32_t a; Foo() {} }; ``` -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply