ruff/crates/red_knot_python_semantic/resources/mdtest/call
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
..
callable_instance.md [red-knot] Improve Symbol API for callable types (#14137) 2024-11-07 19:58:31 +01:00
constructor.md [red-knot] Format mdtest Python snippets more concisely (#13905) 2024-10-24 11:09:31 +00:00
function.md [red-knot] Improve Symbol API for callable types (#14137) 2024-11-07 19:58:31 +01:00
union.md [red-knot] Remove lint-phase (#13922) 2024-10-25 18:40:52 +00:00