Fine-grained mode doesn't properly respect --follow-imports
settings when producing error messages
#4798
Labels
8000
--follow-imports
settings when producing error messages
#4798
This test fails:
producing
in the second iteration.
There will be similar problems with incorrect diagnostics with
--follow-imports=error
.The root of the problem is that the
verify_dependencies
function used to produce missing modules messages during incremental updates operates solely in terms of the module graph, but producing the correct diagnostics here requires consulting the file system.None of this is a problem if you use
--ignored-unused-imports
, of course.The text was updated successfully, but these errors were encountered: