[Issue 21218] New: dtoh: protected attribute should be emitted to headers
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Sep 3 21:12:15 UTC 2020
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 at puremagic.com
Reporter: greeenify at 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() {}
};
```
--
More information about the Digitalmars-d-bugs
mailing list