ruff/crates/red_knot_python_semantic/resources/mdtest/expression
Dhruv Manilawala a69f6240cc
[red-knot] Infer lambda return type as Unknown (#16695)
## Summary

Part of #15382

This PR infers the return type `lambda` expression as `Unknown`. In the
future, it would be more useful to infer the expression type considering
the surrounding context (#16696).

## Test Plan

Update existing test cases from `@todo` to the (verified) return type.
2025-03-18 22:48:10 +05:30
..
assert.md [red-knot] Handle unions of callables better (#16716) 2025-03-17 10:35:52 -04:00
attribute.md [red-knot] Use Unknown | T_inferred for undeclared public symbols (#15674) 2025-01-24 12:47:48 +01:00
boolean.md [red-knot] Handle unions of callables better (#16716) 2025-03-17 10:35:52 -04:00
if.md [red-knot] Add missing imports in mdtests (#15869) 2025-02-03 09:27:29 +00:00
lambda.md [red-knot] Infer lambda return type as Unknown (#16695) 2025-03-18 22:48:10 +05:30
len.md [red-knot] detect invalid return type (#16540) 2025-03-12 01:58:59 +00:00