On Monday, 8 April 2019 at 08:31:33 UTC, Dennis wrote:
On Monday, 8 April 2019 at 07:53:23 UTC, Robert M. Münch wrote:
Why does DMD not give a hint, that an import from the standard lib might be missing? I find these explicit import statements very annyoing.

There currently are a few hard-coded import hints for common functions:
https://github.com/dlang/dmd/blob/master/src/dmd/imphint.d

But it definitely could be better.

Yeah, it's not too hard to improve this.
A quick start:

https://github.com/dlang/dmd/pull/9576

Reply via email to