dlang-community / D-Scanner

Swiss-army knife for D source code
Boost Software License 1.0
238 stars 80 forks source link

Support `alias this = _base;` #926

Open ryuukk opened 11 months ago

ryuukk commented 11 months ago

DScanner says this code is an error:

alias this = _base;

sublime_text_aL61Et1Tvp

This is an allowed syntax since dlang version: 2.105.0 https://dlang.org/changelog/2.105.0.html#dmd.alias-this-syntax (1 august 2023)

While i type this i realize it probably should be reported in libdparse repo