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

--- Comment #40 from Walter Bright <[email protected]> ---
(In reply to Jacob Carlborg from comment #39)
> Here "x" is private and I'm accessing the tuple in "f". The error I get is "
> Error: struct bar.S member x is not accessible". This worked fine in DMD
> 2.064.2.

Yes, it's not accessible because it is marked private, and "f" does not have
access to private members.

It also has nothing to do with Issue 11946, and should be filed separately if
you feel it needs to be addressed further.

--

Reply via email to