ruff/crates/red_knot_python_semantic/resources/mdtest/loops
David Peter 4f74db5630
[red-knot] Improve Symbol API for callable types (#14137)
## Summary

- Get rid of `Symbol::unwrap_or` (unclear semantics, not needed anymore)
- Introduce `Type::call_dunder`
- Emit new diagnostic for possibly-unbound `__iter__` methods
- Better diagnostics for callables with possibly-unbound /
possibly-non-callable `__call__` methods

part of: #14022 

closes #14016

## Test Plan

- Updated test for iterables with possibly-unbound `__iter__` methods.
- New tests for callables
2024-11-07 19:58:31 +01:00
..
async_for_loops.md [red-knot] Remove Type::Unbound (#13980) 2024-10-31 20:05:53 +01:00
for_loop.md [red-knot] Improve Symbol API for callable types (#14137) 2024-11-07 19:58:31 +01:00
iterators.md [red-knot] Format mdtest Python snippets more concisely (#13905) 2024-10-24 11:09:31 +00:00
while_loop.md [red-knot] Remove lint-phase (#13922) 2024-10-25 18:40:52 +00:00