[Issue 24476] Show error for missing import path
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Apr 5 14:39:04 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24476
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |razvan.nitu1305 at gmail.com
Resolution|--- |WONTFIX
--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
It is not the compiler's job to check whether directories specified with -I
exist or not. That's really up to the build system.
Additionally, the first thing you do when you get such error messages is to
check whether the file mentioned in the error message actually exists in the
printed import paths. So in the majority of the situations it's gonna be really
obvious if an important does not exist or not.
I don't really see any real benefit in adding this in the compiler and exposing
ourselves to potential breakage.
--
More information about the Digitalmars-d-bugs
mailing list