Published 1.1.186
Enhancement: Added checks for incorrect runtime usage of a UnionType object.
Enhancement: Added more complete type checks involving the use of a default argument for a generic parameter in a constructor.
Bug Fix: Fixed a bug that resulted in a false positive error when accessing members from a type
instance or a Type[T]
.
Bug Fix: Fixed false positive error related to heuristics employed in bidirectional type inference for calls when the expected type comprises a union and the return type of the call is a union that includes Any and a type variable.
Enhancement: Added support for slots
parameter to dataclass, a new feature added in Python 3.10.
Bug Fix: Fixed regression that caused a false positive error related to incorrect usage of a type variable within a type alias definition.
Bug Fix: Fixed incorrect handling of client-initiated progress reporting for "onReferences" and "onExecuteCommand" handlers in language server.