[Issue 23259] Visibility violation with variadic templates

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 19 11:03:49 UTC 2022


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

LucienPe <lucien.perregaux at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3
           Severity|normal                      |regression

--- Comment #1 from LucienPe <lucien.perregaux at gmail.com> ---
In fact, the bug has nothing to do with templates, the visibility is totally
ignored :

```
class C { private int h = 8; }

void main()
{
    C c = new C();
    writeln(c.h); // compiles
}
```

--


More information about the Digitalmars-d-bugs mailing list