False negative when type arguments are used for Callable
within isinstance
call
#6101
Labels
addressed in next version
Issue is fixed and will appear in next published version
bug
Something isn't working
Pyright emits an error when the second argument to an
isinstance
call supplies type arguments. This condition results in a runtime exception, so it should be flagged.However, pyright doesn't provide an error when type arguments are supplied for
Callable
.The text was updated successfully, but these errors were encountered: