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 09:27:46 +02:00
2025-04-01 15:44:02 +01:00
2025-04-02 21:25:57 +00:00
2024-12-21 11:33:10 +01:00
2025-03-12 01:58:59 +00:00
2025-04-03 15:45:08 +02:00
2025-03-28 11:11:56 -04:00
2025-03-12 01:58:59 +00:00
2025-04-03 11:15:33 +00:00
2024-12-17 09:49:39 +05:30
2025-03-14 20:34:43 +01:00
2025-04-03 15:00:00 +01:00
2025-02-12 08:52:11 +01:00
2025-03-23 08:08:40 +00:00
2025-03-24 17:15:58 +00:00
2025-04-02 10:02:59 +00:00
2025-03-23 13:23:12 +00:00
2025-03-24 18:23:02 +00:00
2025-01-16 11:21:56 -08:00
2025-03-17 10:35:52 -04:00
2025-04-03 15:45:08 +02:00
2025-02-04 08:27:17 +01:00
2025-04-02 09:27:46 +02:00
2025-02-05 22:26:15 +01:00
2025-03-28 11:11:56 -04:00
2025-03-23 10:55:14 -07:00
2025-04-02 09:27:46 +02:00
2025-04-02 09:27:46 +02:00
2025-02-20 23:22:26 +01:00
2025-04-03 15:45:08 +02:00
2025-03-14 12:30:13 +01:00
2025-03-17 10:35:52 -04:00
2025-03-12 01:58:59 +00:00
2024-10-31 21:00:51 +00:00
2025-04-02 09:27:46 +02:00
2025-04-02 09:27:46 +02:00
2025-04-02 09:27:46 +02:00
2024-12-19 21:02:14 +00:00
2025-03-20 17:17:54 +00:00
2025-03-08 03:58:52 +00:00
2025-03-04 19:49:34 +00:00
2025-02-03 09:27:29 +00:00
2025-02-04 08:27:17 +01:00
2025-03-12 01:58:59 +00:00
2025-02-04 08:27:17 +01:00
2025-04-02 09:27:46 +02:00
2025-04-02 09:27:46 +02:00
2025-03-19 07:36:28 -07:00
2025-03-14 12:29:57 +01:00
2025-02-06 07:15:26 +00:00
2025-02-20 23:22:26 +01:00
2025-04-02 09:27:46 +02:00
2025-04-03 16:52:11 +02:00
2025-03-28 20:23:04 +00:00
2025-02-14 12:24:10 -08:00
2025-03-08 02:36:35 +00:00
2025-04-03 16:52:11 +02:00