Since dmd 2.096.0: import `x.t` is used as a type

jmh530 john.michael.hall at gmail.com
Mon May 3 15:04:40 UTC 2021


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).


More information about the Digitalmars-d-learn mailing list