mirror of https://github.com/astral-sh/ruff
## Summary Our `is_builtin` check did a naive walk over the parent scopes; instead, it needs to (e.g.) skip symbols in a class scope if being called outside of the class scope itself. Closes https://github.com/astral-sh/ruff/issues/6466. ## Test Plan `cargo test` |
||
|---|---|---|
| .. | ||
| analyze | ||
| binding.rs | ||
| context.rs | ||
| definition.rs | ||
| expressions.rs | ||
| globals.rs | ||
| lib.rs | ||
| model.rs | ||
| reference.rs | ||
| scope.rs | ||
| star_import.rs | ||
| statements.rs | ||