Weird interaction with public and non-public imports

Paul Backus snarwin at gmail.com
Thu Jan 28 13:13:46 UTC 2021


On Thursday, 28 January 2021 at 13:07:13 UTC, SealabJaster wrote:
> Please see: https://run.dlang.io/is/2mwcPH
>
> I'd expect that the `isInstanceOf` would be true instead of 
> false here.
>
> Commenting out the public import changes the output of 
> `fullyQualifiedName`. I can kind of see why this happens, but 
> it's kind of annoying when things like `isInstanceOf` silently 
> fail due to this.

Looks like a bug to me. I recommend filing a bug report on 
issues.dlang.org.


More information about the Digitalmars-d-learn mailing list