make @import
of a non-existing file a compile error
#7867
Labels
Milestone
@import
of a non-existing file a compile error
#7867
The error
unable to find ...
from a@import("file_that_does_not_exist")
is only produced when things from the import are used, e.g.Compiling gives no errors, but if the source is changed to
then there's the error
Maybe there's a good reason for lazy evaluation in this case.
I think, however, that if there's a clear error in the code, it should be shown to the user as soon as possible.
The text was updated successfully, but these errors were encountered: