On Sunday, 2 May 2021 at 18:36:25 UTC, Basile B. wrote:
[snip]

BTW during the PR review the problem you encounter [was anticipated](https://github.com/dlang/dmd/pull/12178#issuecomment-773886263) si I guess you're stuck with [the author answer](https://github.com/dlang/dmd/pull/12178#issuecomment-773902749), i.e "this worked because of a special case".
[snip]

"this worked because of a special case" or "I'm sure they won't mind a bit of change" are not exactly the most fulfilling arguments to me. Don't we have transition switches for a reason?

The other solution is to keep the special case and then add additional logic to handle when the thing being looked up is not public (or whatever).

Reply via email to