Nikolay Lunyak
9850987415
[FIR] Fix mutant extension function types
...
Consider the following example from
`extensionLambdasAndArrow.kt`:
```
val x4: String.() -> String = if (true) {
{ str: String -> "this" }
} else {
{ str: String -> "this" }
}
```
Because of
`coerceFirstParameterToExtensionReceiver`
the given lambdas must be of the type
`String.() -> String`, but because of a bug
they are `String.(String) -> String`. At the
same time, during inference their expected
types are, indeed, calculated correctly as
`String.() -> String`.
^KT-59394 Declined
(no more compiler crashes, #potential-feature)
2023-08-04 11:20:39 +00:00
..
2023-01-13 21:32:51 +00:00
2022-03-23 21:13:33 +00:00
2022-03-23 21:13:33 +00:00
2023-03-02 10:23:38 +00:00
2023-07-20 07:29:18 +00:00
2022-06-17 23:26:16 +00:00
2022-01-17 21:27:14 +03:00
2022-03-23 21:13:33 +00:00
2022-03-23 21:13:33 +00:00
2022-03-23 21:13:33 +00:00
2022-03-23 21:13:33 +00:00
2022-11-16 22:25:02 +00:00
2022-03-23 21:13:33 +00:00
2022-03-23 21:13:33 +00:00
2021-08-10 15:09:25 +00:00
2022-02-25 11:46:27 +00:00
2023-02-17 11:26:17 +00:00
2022-01-17 21:27:14 +03:00
2022-03-23 21:13:33 +00:00
2022-02-10 21:20:47 +00:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2022-03-23 21:13:33 +00:00
2021-08-06 11:49:34 +03:00
2023-07-26 06:09:15 +00:00
2022-04-05 15:50:43 +00:00
2021-11-12 15:20:45 +03:00
2023-05-05 09:34:24 +00:00
2022-01-17 21:27:14 +03:00
2022-03-23 21:13:33 +00:00
2021-11-24 23:13:41 +03:00
2021-11-24 23:13:41 +03:00
2022-11-22 15:46:19 +00:00
2021-11-12 15:20:43 +03:00
2021-11-12 15:20:43 +03:00
2021-07-19 13:40:28 +03:00
2021-07-19 13:40:28 +03:00
2022-12-20 08:12:09 +00:00
2021-07-19 13:40:28 +03:00
2021-11-24 23:13:41 +03:00
2021-08-25 21:53:23 +00:00
2023-04-19 20:12:38 +00:00
2021-08-18 16:03:01 +03:00
2022-02-25 11:46:27 +00:00
2021-11-24 23:13:41 +03:00
2021-12-01 23:45:18 +03:00
2023-04-19 20:12:38 +00:00
2023-04-30 16:12:54 +00:00
2023-04-30 16:12:54 +00:00
2023-04-19 20:12:38 +00:00
2023-03-02 10:23:38 +00:00
2023-06-16 16:26:50 +00:00
2023-06-16 16:26:50 +00:00
2021-08-25 21:53:23 +00:00
2022-09-30 21:39:20 +03:00
2022-03-23 21:13:33 +00:00
2021-07-13 10:35:01 +03:00
2023-07-31 17:38:46 +00:00
2023-01-02 14:03:42 +01:00
2021-07-15 19:02:58 +03:00
2023-02-28 09:17:40 +00:00
2022-09-30 21:39:20 +03:00
2022-11-03 08:30:09 +00:00
2022-11-03 08:30:09 +00:00
2022-03-23 21:13:33 +00:00
2023-01-13 21:32:51 +00:00
2023-01-13 21:32:51 +00:00
2023-01-13 21:32:51 +00:00
2023-02-15 08:13:41 +00:00
2023-08-04 11:20:39 +00:00
2022-07-22 16:03:52 +00:00
2023-03-02 10:23:38 +00:00
2022-07-22 16:03:52 +00:00
2022-07-22 16:03:52 +00:00
2022-03-23 21:13:33 +00:00
2022-07-22 16:03:52 +00:00
2022-07-22 16:03:52 +00:00
2022-07-22 16:03:52 +00:00
2022-07-22 16:03:52 +00:00
2022-07-22 16:03:52 +00:00
2022-07-22 16:03:52 +00:00
2022-07-22 16:03:52 +00:00
2022-07-22 16:03:52 +00:00
2022-07-22 16:03:52 +00:00
2021-10-08 18:52:21 +03:00
2021-10-08 18:52:21 +03:00
2021-07-15 19:02:58 +03:00
2022-03-23 21:13:33 +00:00
2022-04-05 15:50:43 +00:00
2023-07-19 13:34:58 +00:00
2021-11-24 23:13:41 +03:00
2022-02-25 11:46:27 +00:00
2022-02-25 11:46:27 +00:00
2022-07-22 16:03:52 +00:00
2022-07-22 16:03:52 +00:00
2023-02-15 08:13:41 +00:00
2021-08-10 19:36:43 +03:00
2023-05-10 11:48:58 +00:00