"<function> defined here" notes omitted when function is loaded from cache #4772
Labels
bug
mypy got something wrong
priority-1-normal
topic-error-reporting
How we report errors
topic-fine-grained-incremental
topic-incremental
mypy emits a nice " defined here" note when calling a function with unexpected keywords arguments.
Unfortunately the note is omitted if the module the function is defined in has been loaded from the cache.
This both eliminates a nice message (which we should add more of!) and causes annoying deviations between modes.
The following coarse-grained incremental test fails
As well as this fine-grained incremental test:
The text was updated successfully, but these errors were encountered: