Douglas Creager
5e9259c96c
Don't special-case class instances in binary expression inference ( #15161 )
...
Just like in #15045 for unary expressions: In binary expressions, we
were only looking for dunder expressions for `Type::Instance` types. We
had some special cases for coercing the various `Literal` types into
their corresponding `Instance` types before doing the lookup. But we can
side-step all of that by using the existing `Type::to_meta_type` and
`Type::to_instance` methods.
2025-01-06 13:50:20 -05:00
..
2024-12-21 11:33:10 +01:00
2025-01-05 13:11:32 -06:00
2025-01-06 13:50:20 -05:00
2024-12-21 11:33:10 +01:00
2024-12-21 11:33:10 +01:00
2024-12-22 10:02:28 -08:00
2025-01-05 18:35:29 +00:00
2024-12-17 09:49:39 +05:30
2024-12-18 18:31:24 +00:00
2024-12-22 10:02:28 -08:00
2024-12-06 12:55:56 -08:00
2024-12-17 16:58:23 -05:00
2024-12-21 11:33:10 +01:00
2024-12-12 21:06:56 +01:00
2025-01-05 21:51:22 +00:00
2024-11-14 15:39:51 +01:00
2024-12-15 01:02:41 +00:00
2024-12-29 00:47:03 +00:00
2025-01-05 13:11:32 -06:00
2024-12-21 11:33:10 +01:00
2024-12-30 09:42:18 +00:00
2024-12-16 16:15:40 -05:00
2025-01-06 13:50:20 -05:00
2024-12-19 13:03:41 +00:00
2024-10-31 21:00:51 +00:00
2024-12-19 15:54:01 +00:00
2024-12-19 21:02:14 +00:00
2024-12-10 16:14:44 +00:00
2024-12-06 02:41:33 +00:00
2024-12-13 09:24:48 +00:00
2024-12-13 08:21:52 +00:00
2024-12-13 19:48:51 +00:00
2024-12-10 16:14:44 +00:00
2024-12-13 10:40:38 +01:00
2025-01-06 13:50:20 -05:00
2024-12-21 11:33:10 +01:00
2024-12-21 11:33:10 +01:00
2024-12-13 08:21:52 +00:00
2024-12-30 13:10:29 +05:30