Files
ruff/crates/ty_python_semantic
Claude 6a2f78786a [ty] Fix sub-union optimization to require both flags be No
The optimization condition checked if `recursively_defined` flags matched,
which would apply when both are Yes. However, unions with recursively_defined=Yes
may have been built during cycle_recovery where simplification is incomplete.

Change the condition to require both builder and union have recursively_defined=No,
ensuring the optimization only applies to unions that are definitely fully simplified.
2025-12-19 09:24:57 -06:00
..
2025-05-03 19:49:15 +02:00