dmd.imphint
Give import hints for common symbol names that couldn't be resolved.
Discussion
For example, prompt to import std.stdio
when using writeln
.
License
Source: imphint.d
Documentation: https://dlang.org/phobos/dmd_imphint.html
-
Declaration
@safe const(char)[]
importHint
(const(char)[]s
);Looks for undefined identifier
s
to see if it might be undefined because an import was not specified. Not meant to be a comprehensive list of names in each module, just the most common ones.