Non existing member does not get reported when using +=, -=,... operators #1858
Labels
enhancement
New feature or request
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
Environment data
Expected behaviour
should report
does_not_exist_a
as not existingActual behaviour
Pyright does not report any error or warning
Code Snippet / Additional information
does_not_exist_a
is reported by both mypy and pylinterror: "ExampleA" has no attribute "does_not_exist_a"
E1101: Instance of 'ExampleA' has no 'does_not_exist_a' member (no-member)
Cannot access member "does_not_exist_b" for type "ExampleB" Member "does_not_exist_b" is unknown
hereThe text was updated successfully, but these errors were encountered: