dlang-community / D-Scanner

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

[warning] first.d:visit Could not resolve location of module ... #903

Closed linkrope closed 1 year ago

linkrope commented 1 year ago

I have no idea what's wrong with the import path: I'm getting lots of these warnings lately.

See: https://github.com/linkrope/gamma/actions/runs/5192881661/jobs/9362664165

Check Style

WebFreak001 commented 1 year ago

fixed in master, but needs a release. This was just something that changed in std.experimental.logger with a compiler update

linkrope commented 1 year ago

Funny: so the warnings are even irrelevant for D-Scanner! I found out that I can get rid of them by explicitly specifying the import paths (-I),

WebFreak001 commented 1 year ago

theoretically they can be relevant, e.g. for the argument name check that will check for correct argument order - that check needs to look up the method, so if it can't find it (due to misconfigured imports and it being defined in a separate file), it would never trigger.

WebFreak001 commented 1 year ago

fixed on 0.15.0