ruff
27a315b7 - [red-knot] add fixpoint iteration for Type::member_lookup_with_policy (#17464)

Commit
95 days ago
[red-knot] add fixpoint iteration for Type::member_lookup_with_policy (#17464) ## Summary Member lookup can be cyclic, with type inference of implicit members. A sample case is shown in the added mdtest. There's no clear way to handle such cases other than to fixpoint-iterate the cycle. Fixes #17457. ## Test Plan Added test.
Author
Parents
  • crates/red_knot_python_semantic
    • resources/mdtest
      • File
        attributes.md
    • src
      • File
        types.rs