Some Thoughts On String Interpolation [l10n, restricting access, AA]

Paul Backus snarwin at gmail.com
Thu Nov 2 01:38:50 UTC 2023


On Wednesday, 1 November 2023 at 22:22:42 UTC, kdevel wrote:
> On Saturday, 28 October 2023 at 13:13:16 UTC, Paul Backus wrote:
>> Although I wouldn't really recommend it, since it forces you 
>> to write fully-qualified names to access anything that *isn't* 
>> an associative-array key.
>
> The simple name (`x`) seems to work: 
> https://run.dlang.io/is/Nzne84

Interesting. It seems like symbols in the current module take 
precedence over `opDispatch`, but symbols in other modules don't. 
I wonder if that's intentional?


More information about the Digitalmars-d mailing list