Alexander Udalov
79fa2b6db0
Fir2Ir: generate coercion to Unit for when branches if needed
...
Before this change, it could happen that `when` of type Unit has a
branch whose type is not Unit. This can lead to problems in IR
lowerings, for example PolymorphicSignatureLowering which is very
reliant on the correct types of expressions and placement of coercions
to Unit (KT-59218).
2023-07-18 11:37:41 +00:00
..
2023-07-12 13:11:25 +00:00
2023-06-23 12:34:23 +00:00
2023-07-14 16:38:47 +00:00
2023-06-23 12:34:23 +00:00
2023-05-31 14:38:38 +00:00
2023-05-19 13:24:00 +00:00
2023-07-18 11:37:41 +00:00
2023-07-13 16:12:59 +00:00
2023-06-22 14:14:39 +00:00
2023-07-13 16:12:59 +00:00
2023-07-07 11:09:16 +00:00
2023-06-22 17:10:50 +02:00
2023-06-22 12:25:24 +00:00
2023-07-18 10:19:27 +00:00
2023-06-23 16:19:06 +02:00
2023-07-05 16:55:38 +00:00
2023-06-22 07:05:31 +00:00
2023-07-13 16:12:59 +00:00
2023-07-03 07:55:36 +00:00
2023-06-25 10:18:50 +02:00
2023-07-17 16:55:24 +00:00
2023-07-18 11:37:41 +00:00
2023-07-17 16:55:24 +00:00
2023-07-17 21:09:40 +00:00
2023-07-18 11:37:41 +00:00
2023-07-07 11:26:15 +00:00
2023-07-17 16:55:24 +00:00
2023-07-18 11:37:41 +00:00
2023-06-26 15:42:21 +00:00
2023-07-10 09:28:54 +00:00
2023-07-06 17:49:15 +00:00
2023-06-17 01:00:04 +00:00
2023-07-10 08:59:16 +00:00
2023-06-20 16:11:31 +00:00