digitalmars.D.bugs - [Issue 22920] New: Improve errors when missing import paths
- d-bugmail puremagic.com (25/25) Mar 24 2022 https://issues.dlang.org/show_bug.cgi?id=22920
https://issues.dlang.org/show_bug.cgi?id=22920 Issue ID: 22920 Summary: Improve errors when missing import paths Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: contact lsferreira.net When an import path is missing, we are not using errorSupplemental, so the error alignment is weird: --- fail_compilation/test22361.d(11): Error: unable to read module `this_module_does_not_exist` fail_compilation/test22361.d(11): Expected 'this_module_does_not_exist.d' or 'this_module_does_not_exist/package.d' in one of the following import paths: import path[0] = fail_compilation import path[1] = $p:druntime/import$ import path[2] = $p:phobos$ --
Mar 24 2022