ruff
3ea32e2c - red_knot_python_semantic: improve diagnostic message for "invalid argument type"

Commit
213 days ago
red_knot_python_semantic: improve diagnostic message for "invalid argument type" This uses the refactoring and support for secondary diagnostic messages to improve the diagnostic for "invalid argument type." The main improvement here is that we show where the function being called is defined, and annotate the span corresponding to the invalid parameter.
Author
Committer
Parents
Loading