ruff/crates/red_knot_python_semantic/src/semantic_index
David Peter 53fa32a389
[red-knot] Remove Type::Unbound (#13980)
<!--
Thank you for contributing to Ruff! To help us out with reviewing,
please consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->

## Summary

- Remove `Type::Unbound`
- Handle (potential) unboundness as a concept orthogonal to the type
system (see new `Symbol` type)
- Improve existing and add new diagnostics related to (potential)
unboundness

closes #13671 

## Test Plan

- Update existing markdown-based tests
- Add new tests for added/modified functionality
2024-10-31 20:05:53 +01:00
..
builder [red-knot] Add control flow for try/except blocks (#13729) 2024-10-16 13:03:59 +00:00
use_def [red-knot] use declared types in inference/checking (#13335) 2024-09-17 08:11:06 -07:00
ast_ids.rs [red-knot] Use the right scope when considering class bases (#13766) 2024-10-17 22:29:46 +00:00
builder.rs [red-knot] Handle context managers in (sync) with statements (#13998) 2024-10-31 08:18:18 +00:00
constraint.rs [red-knot] Type narrow in else clause (#13918) 2024-10-26 16:22:57 +00:00
definition.rs [red-knot] Handle context managers in (sync) with statements (#13998) 2024-10-31 08:18:18 +00:00
expression.rs [red-knot] type narrowing (#12706) 2024-08-16 16:34:13 -07:00
symbol.rs [red-knot] Fallback to attributes on types.ModuleType if a symbol can't be found in locals or globals (#13904) 2024-10-29 10:59:03 +00:00
use_def.rs [red-knot] Remove Type::Unbound (#13980) 2024-10-31 20:05:53 +01:00