[SAoC2022] Replace libdparse with dmd-as-a-library in D-Scanner

rikki cattermole rikki at cattermole.co.nz
Wed Dec 14 04:38:59 UTC 2022


On 14/12/2022 6:31 AM, Lucian Danescu wrote:
> The problems come from `static if` and `version` conditions, as these do 
> not introduce a new scope, and for me at least it is not yet 100% clear 
> how to treat them, as things get really complicated when we have many 
> `static if` mixed with `version`.

Because of string mixins and CTFE I'm not sure this can be 100%.

I'd argue the example code is bad anyway, it could be simplified and it 
won't be as easy to error.


More information about the Digitalmars-d mailing list