Bug Fix: Fixed bug that resulted in false positive when one or more sources of types in TypeVar solving was unknown.
Bug Fix: Fixed bug that resulted in a crash if a TypedDict
class was derived from another TypedDict
class and the base class had zero fields defined.
Enhancement: Added support for # pyright: basic
comment to enable basic type checking in a file.
Bug Fix: Fixed a bug that resulted in a false positive error when determining whether method overrides for a multi-inheritance chain are compatible.
Bug Fix: Fixed bug that resulted in a false positive when using bidirectional inference with a constructor with complex set of covariant, invariant, and contravariant type parameters.
Enhancement: Improved logic for type(x) is y
type narrowing pattern so it handles the case where x
is Any
.