David Peter
fedd982fd5
[red-knot] Avoid unresolved-reference in unreachable code ( #17169 )
...
## Summary
This PR changes the inferred type for symbols in unreachable sections of
code to `Never` (instead of reporting them as unbound), in order to
silence false positive diagnostics. See the lengthy comment in the code
for further details.
## Test Plan
- Updated Markdown tests.
- Manually verified a couple of ecosystem diagnostic changes.
2025-04-03 16:52:11 +02:00
..
2025-04-02 11:01:16 -04:00
2025-04-02 11:01:16 -04:00
2025-04-02 10:10:01 -04:00
2025-04-03 16:52:11 +02:00
2025-04-02 10:10:01 -04:00
2025-04-02 21:51:52 +01:00
2025-04-01 17:44:27 +01:00
2025-04-02 11:01:16 -04:00
2025-04-03 09:05:40 -04:00
2025-03-31 07:42:15 +00:00
2025-04-02 10:10:01 -04:00
2024-07-03 07:36:46 -05:00
2025-04-02 12:47:02 -04:00
2025-02-19 10:50:50 -05:00
2025-01-03 08:50:13 -06:00
2025-03-23 10:55:14 -07:00
2025-02-19 10:50:50 -05:00
2025-02-28 14:55:55 -05:00
2025-04-03 10:22:37 -04:00
2025-02-07 10:59:40 +01:00
2025-02-26 06:12:43 -08:00
2025-04-01 16:58:09 +02:00
2025-04-01 16:58:09 +02:00
2025-02-19 10:50:50 -05:00
2025-04-01 16:58:09 +02:00
2024-10-28 07:53:41 +00:00
2025-02-04 08:41:06 -05:00
2025-04-03 10:22:37 -04:00
2025-03-31 07:42:15 +00:00
2025-04-03 08:30:29 -05:00
2025-01-04 12:23:53 +01:00
2025-02-27 13:25:31 +00:00
2025-02-19 10:50:50 -05:00
2025-03-31 07:42:15 +00:00
2024-12-11 10:30:41 +00:00
2025-01-16 15:18:12 +01:00
2025-04-03 09:05:40 -04:00
2025-04-02 09:25:46 +02:00