code-d icon indicating copy to clipboard operation
code-d copied to clipboard

Aliasing `this` gets reported as a problem, and prevents imports from being recognized

Open LiamM32 opened this issue 1 year ago • 1 comments

In my program, I aliased this within a class to an object reference of the class. This listed in the "Problems".

It is line 32 in this file.

It appears to have prevented any symbols defined outside the DUB package from being recognized, as everything started working after this line was removed.

LiamM32 avatar Apr 21 '24 06:04 LiamM32

Try upgrading to serve-d nightly by setting the d.servedReleaseChannel setting in vscode (Ctrl-, for User Settings) to nightly - afterwards, reload the window with Ctrl-Shift-P -> Reload Window and let it automatically download the update.

WebFreak001 avatar Jun 24 '24 23:06 WebFreak001