Bug Fix: Fixed a bug in assertNever
internal function that resulted in a crash when attempting to stringify a recursive data structure. This shows up occasionally in the crash telemetry.
Bug Fix: Fixed an infinite recursion bug in the type printer that shows up occasionally in the crash telemetry.
Bug Fix: Fixed a bug that resulted in infinite recursion when a global
statement is used within the global scope of a module.
Enhancement: Added new check for an attempt to instantiate Dict
, Set
, List
, or Tuple
from typing
module. This generates a runtime exception.
Bug Fix: Fixed recent regression that resulted in a false positive error when defining a variable in a class body and using its own field name as a type annotation.
Bug Fix: Fixed bug that results in incorrect narrowing for sequence patterns in a match statement in the negative (fall-through) case when the subject type is a tuple of known length but with elements of type Any
.
Enhancement: Added support for quoted TypeAlias
type annotation.
Bug Fix: Fixed a bug that resulted in incorrect type evaluation when narrowing types for class patterns in a match statement when the matched class is a generic subclass of the subject type.
Bug Fix: Fixed bug that resulted in incorrect type evaluation when an isinstance
type guard results in an intersection type and one of the sources of the intersection is a conditional type.
Bug Fix: Fixed a bug that resulted in a transient false positive error in certain cases where a member access expression was used within a quoted type annotation.