Published 1.1.167
Bug Fix: Fixed regression that caused a false positive error when an overload implementation annotates a parameter with a union that includes a type variable.
Enhancement: Added support for type annotations that are enclosed in triple quotes.
Bug Fix: Fixed false positive error when a class declaration inherits from Protocol
and Generic
.
Bug Fix: Fixed bug that resulted in a missed error (false negative) when comparing an overload implementation with an overload signature that uses a generic return type.
Enhancement: Added support for a super()
call made within a class method or instance method where the cls
or self
parameter is explicitly annotated (e.g. with a bound type variable).
Enhancement: Extended isinstance type narrowing logic to support Callable
.
Enhancement (contribution from Matt Hillsdon): Reduced cascading parser errors when a colon is omitted before an indented code block.
Bug Fix: Fixed incorrect type evaluation for ternary, list and dictionary expressions in certain cases where the expression is within a loop.
Bug Fix: Fixed bug in control flow engine that resulted in incomplete types in certain cases that involved loops and circular type dependencies.