ruff/crates/red_knot_python_semantic/resources/mdtest/call
Mike Perlov 5c1fab0661
Fix member lookup for unions & intersections ignoring policy (#17066)
## Summary

A quick fix for how union/intersection member search ins performed in
Knot.

## Test Plan

* Added a dunder method call test for Union, which exhibits the error
* Also added an intersection error, but it is not triggering currently
due to `call` logic not being fully implemented for intersections.

---------

Co-authored-by: David Peter <mail@david-peter.de>
2025-03-31 09:40:47 +02:00
..
annotation.md [red-knot] Support calling a typing.Callable (#16888) 2025-03-23 02:39:33 +05:30
builtins.md [red-knot] Support multiple overloads when binding parameters at call sites (#16568) 2025-03-11 15:08:17 -04:00
callable_instance.md [red-knot] Handle unions of callables better (#16716) 2025-03-17 10:35:52 -04:00
constructor.md [red-knot] Format mdtest Python snippets more concisely (#13905) 2024-10-24 11:09:31 +00:00
dunder.md Fix member lookup for unions & intersections ignoring policy (#17066) 2025-03-31 09:40:47 +02:00
function.md [red-knot] A FunctionType can be a subtype of Callable (but never the other way around) (#16970) 2025-03-25 22:04:34 +00:00
getattr_static.md [red-knot] Attribute access and the descriptor protocol (#16416) 2025-03-07 22:03:28 +01:00
invalid_syntax.md [red-knot] add call checking (#15200) 2025-01-07 20:39:45 +00:00
methods.md [red-knot] Support multiple overloads when binding parameters at call sites (#16568) 2025-03-11 15:08:17 -04:00
never.md [red-knot] Never is callable and iterable. Arbitrary attributes can be accessed. (#16533) 2025-03-06 15:59:19 +00:00
subclass_of.md [red-knot] Add support for calling type[…] (#16597) 2025-03-10 13:24:13 +01:00
union.md [red-knot] Break up call binding into two phases (#16546) 2025-03-21 09:38:11 -04:00