Skip to content

v0.19.0

Latest

Choose a tag to compare

@github-actions github-actions released this 23 Oct 03:59
v0.19.0
987f178
  • [fixed] Lambdas passed to methods on a Result (for example
    result.map(lambda v: ...)) no longer have unknown parameter types on the
    Ok/Err side that ignores them, which strict checkers reported
    (pyright reportUnknownLambdaType, pyrefly implicit-any-lambda). Ignored
    op parameters are now typed Callable[[Never], object] | object, so the
    lambda's parameter is Never on that side (it disappears when joined with
    the real type) and Err("x").map(42) is still accepted