How to do reflection on alias symbols

Jonathan M Davis newsgroup.d at jmdavisprog.com
Fri Nov 17 01:48:11 UTC 2023


On Thursday, November 16, 2023 6:04:43 PM MST Jonathan M Davis via 
Digitalmars-d-learn wrote:
> I would suggest that you open up a bug report for it -
> https://issues.dlang.org - and certainly, there's a good argument that what
> you're seeing here is a bug. I fully expect that what you're trying do just
> wasn't properly considered previously and thus was not dealt with properly
> when the other bugs for visibility attributes on aliases were fixed however
> many years ago that was now. I very much doubt that what you're seeing is
> the intended behavior - or at least I fully expect that if Walter or one of
> the other compiler devs sees the issue, they will agree that what you're
> trying to do should work.

Actually, it looks like there's already an old bug report on the issue:

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

So, it has been reported, but it looks it's one of those that's gone under
the radar.

- Jonathan M Davis





More information about the Digitalmars-d-learn mailing list