mirror of
https://github.com/astral-sh/ruff.git
synced 2026-11-25 11:31:16 +08:00
## Summary Previously, `Parameters::visit_source_order` used `ParametersIterator` which visits in type-based order. For well-formed Python code, this matches source order; but error recovery can produce ASTs like `def foo(**kwargs, a):`.