Alex Waygood
743764d384
[ty] Simplify Type::try_bool() ( #18342 )
...
## Summary
I don't think we're ever going to add any `KnownInstanceType` variants
that evaluate to `False` in a boolean context; the
`KnownInstanceType::bool()` method just seems like unnecessary
complexity.
## Test Plan
`cargo test -p ty_python_semantic`
2025-05-27 19:32:17 +01:00
..
2025-05-22 13:09:44 -05:00
2025-05-16 13:25:28 +02:00
2025-05-27 08:00:38 +02:00
2025-05-16 13:25:28 +02:00
2025-05-26 13:37:49 +01:00
2025-05-26 14:35:20 +00:00
2025-05-15 10:27:21 -04:00
2025-05-16 13:25:28 +02:00
2025-05-21 11:06:27 -04:00
2025-05-16 13:25:28 +02:00
2025-05-26 09:53:03 +00:00
2025-05-19 13:34:04 -04:00
2025-05-16 13:25:28 +02:00
2025-05-09 10:47:45 +02:00
2025-05-16 13:25:28 +02:00
2025-05-16 13:25:28 +02:00
2025-05-16 13:25:28 +02:00
2025-05-22 07:52:21 +02:00
2025-05-16 13:25:28 +02:00
2025-05-16 13:25:28 +02:00
2025-05-21 18:16:25 +02:00
2025-05-16 13:25:28 +02:00
2025-05-16 13:25:28 +02:00
2025-05-16 13:25:28 +02:00
2025-05-16 13:25:28 +02:00
2025-05-16 13:25:28 +02:00
2025-05-19 13:34:04 -04:00
2025-05-16 13:25:28 +02:00
2025-05-19 11:40:58 -04:00
2025-05-26 10:33:51 +01:00
2025-05-16 13:25:28 +02:00
2025-05-27 08:00:38 +02:00
2025-05-21 11:06:27 -04:00
2025-05-27 08:00:38 +02:00
2025-05-27 19:32:17 +01:00
2025-05-26 12:44:43 +00:00
2025-05-21 11:06:27 -04:00
2025-05-23 11:41:31 +02:00
2025-05-26 13:37:49 +01:00