[red-knot] Add MRO resolution for classes (#14027)

This commit is contained in:
Alex Waygood
2024-11-04 13:31:38 +00:00
committed by GitHub
parent 88d9bb191b
commit df45a0e3f9
13 changed files with 1175 additions and 124 deletions

View File

@@ -85,7 +85,7 @@ f = Foo()
# that `Foo.__iadd__` may be unbound as additional context.
f += "Hello, world!"
reveal_type(f) # revealed: int | @Todo
reveal_type(f) # revealed: int | Unknown
```
## Partially bound with `__add__`