Alexander Udalov
c06ec84bb1
JVM: fix type mapping of big arity suspend function types
...
The code in IrTypeMapper was incorrectly translated from
KotlinTypeMapper during the development of JVM IR. The
`classDescriptor.hasBigArity` condition in KotlinTypeMapper was checking
if the class represents a function or a suspend function with big arity,
and the suspend function part was lost during conversion.
This resulted in incorrect generic signature being generated, which led
to malformed type exceptions from reflection, and compilation errors
from kapt stub generation.
Also, change a comment in irCodegenUtils to avoid confusion of numbered
function types (kotlin.jvm.functions.Function1, ...) with the big-arity
type kotlin.jvm.functions.FunctionN.
#KT-58375 Fixed
2023-05-09 12:57:07 +00:00
..
2023-02-09 20:13:56 +00:00
2022-02-08 20:15:14 +01:00
2023-01-12 18:01:10 +01:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2022-02-08 20:15:13 +01:00
2021-01-13 22:49:09 +09:00
2023-02-09 20:13:56 +00:00
2022-02-17 12:26:40 +01:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2022-02-17 12:26:41 +01:00
2023-01-12 18:01:10 +01:00
2023-02-09 20:13:56 +00:00
2023-01-13 02:38:40 +01:00
2023-01-12 18:01:10 +01:00
2023-02-06 21:34:10 +00:00
2022-07-20 10:12:24 +00:00
2023-01-12 18:01:10 +01:00
2022-02-08 20:15:14 +01:00
2023-01-12 18:01:10 +01:00
2022-07-20 10:12:24 +00:00
2023-01-11 22:01:22 +01:00
2023-01-31 13:49:44 +00:00
2022-11-28 22:27:09 +01:00
2021-03-03 12:05:49 +03:00
2022-06-17 16:51:06 +02:00
2023-01-12 18:01:10 +01:00
2023-02-09 20:13:56 +00:00
2023-01-13 02:38:39 +01:00
2023-01-12 18:01:10 +01:00
2023-02-09 20:13:56 +00:00
2022-07-20 10:12:24 +00:00
2023-01-12 18:01:10 +01:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2022-07-20 10:12:24 +00:00
2023-01-12 18:01:10 +01:00
2022-07-20 10:12:24 +00:00
2023-01-12 18:01:10 +01:00
2023-02-09 20:13:56 +00:00
2022-02-17 12:26:42 +01:00
2023-01-12 18:01:10 +01:00
2023-02-09 20:13:56 +00:00
2022-02-17 12:26:42 +01:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2023-01-13 02:38:40 +01:00
2023-01-12 18:01:10 +01:00
2022-11-28 22:27:09 +01:00
2023-01-12 18:01:10 +01:00
2023-04-19 23:04:45 +00:00
2023-04-19 23:04:45 +00:00
2023-04-19 23:04:45 +00:00
2022-02-08 20:15:14 +01:00
2023-01-12 18:01:10 +01:00
2023-02-09 20:13:56 +00:00
2022-02-17 12:26:42 +01:00
2023-02-09 20:13:56 +00:00
2022-02-08 20:15:14 +01:00
2023-01-12 18:01:10 +01:00
2023-02-09 20:13:56 +00:00
2022-10-24 12:48:22 +00:00
2023-01-12 18:01:10 +01:00
2023-05-08 09:08:07 +00:00
2023-05-08 09:08:07 +00:00
2023-05-08 09:08:07 +00:00
2023-01-12 02:13:08 +01:00
2023-01-12 18:01:10 +01:00
2022-07-20 10:12:24 +00:00
2023-01-11 22:01:22 +01:00
2023-01-31 13:49:44 +00:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2022-06-20 11:42:53 +00:00
2023-01-12 18:01:10 +01:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2022-02-17 12:26:42 +01:00
2023-01-12 18:01:10 +01:00
2022-02-08 20:15:14 +01:00
2023-01-12 18:01:10 +01:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2023-03-28 08:17:37 +00:00
2022-02-08 20:15:14 +01:00
2023-01-12 18:01:10 +01:00
2022-02-17 12:26:42 +01:00
2022-07-20 10:12:24 +00:00
2023-02-06 21:34:10 +00:00
2022-11-28 22:27:09 +01:00
2023-01-12 18:01:10 +01:00
2023-02-09 20:13:56 +00:00
2022-02-08 20:15:14 +01:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2022-03-15 11:38:03 +01:00
2023-01-12 18:01:10 +01:00
2023-02-09 20:13:56 +00:00
2022-07-20 10:12:24 +00:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2023-01-13 02:38:39 +01:00
2023-01-12 18:01:10 +01:00
2022-02-08 20:15:13 +01:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2022-09-26 12:21:56 +02:00
2023-01-12 18:01:10 +01:00
2022-09-26 12:21:56 +02:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2022-02-17 12:26:41 +01:00
2023-01-12 18:01:10 +01:00
2023-01-11 22:01:22 +01:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2022-02-08 20:15:14 +01:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2022-02-08 20:15:14 +01:00
2023-01-12 18:01:10 +01:00
2022-02-08 20:15:14 +01:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2022-02-08 20:15:14 +01:00
2023-01-12 18:01:10 +01:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2022-07-20 10:12:24 +00:00
2023-01-12 18:01:10 +01:00
2022-02-17 12:26:42 +01:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2022-02-17 12:26:42 +01:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2023-01-13 02:38:40 +01:00
2023-01-11 22:01:22 +01:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2023-01-17 11:40:13 +01:00
2023-01-17 11:40:13 +01:00
2023-01-31 13:49:44 +00:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2022-07-20 10:12:24 +00:00
2023-01-11 22:01:22 +01:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2022-07-20 10:12:24 +00:00
2021-01-13 22:49:09 +09:00
2022-02-08 20:15:14 +01:00
2023-01-12 18:01:10 +01:00
2022-02-08 20:15:14 +01:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2023-01-13 02:38:39 +01:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2023-01-13 02:38:40 +01:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2022-07-20 10:12:24 +00:00
2023-01-12 18:01:10 +01:00
2023-02-09 20:13:56 +00:00
2022-02-08 20:15:14 +01:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2022-07-20 10:12:24 +00:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2022-06-20 11:42:53 +00:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2023-01-13 02:38:40 +01:00
2023-01-11 22:01:22 +01:00
2023-01-31 13:49:44 +00:00
2022-06-20 11:42:53 +00:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2022-02-17 12:26:42 +01:00
2023-01-12 18:01:10 +01:00
2022-02-17 12:26:42 +01:00
2023-01-12 18:01:10 +01:00
2022-02-08 20:15:14 +01:00
2023-01-12 18:01:10 +01:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2023-02-09 20:13:56 +00:00
2022-07-20 10:12:24 +00:00
2023-01-12 18:01:10 +01:00
2022-03-15 11:38:03 +01:00
2023-01-12 18:01:10 +01:00
2022-02-08 20:15:13 +01:00
2023-01-12 18:01:10 +01:00
2023-02-09 20:13:56 +00:00
2022-07-20 10:12:24 +00:00
2023-01-12 18:01:10 +01:00
2022-02-08 20:15:13 +01:00
2023-02-09 20:13:56 +00:00
2022-02-08 20:15:14 +01:00
2023-01-12 18:01:10 +01:00
2023-04-17 10:40:15 +00:00
2023-04-17 10:40:15 +00:00
2023-01-31 13:49:44 +00:00
2022-02-08 20:15:14 +01:00
2023-01-12 18:01:10 +01:00
2023-01-31 13:49:44 +00:00
2023-01-13 02:38:40 +01:00
2023-01-12 18:01:10 +01:00
2023-02-02 15:01:43 +00:00
2023-02-02 15:01:43 +00:00
2023-05-09 12:57:07 +00:00
2023-05-09 12:57:07 +00:00
2023-05-09 12:57:07 +00:00
2022-03-22 09:50:08 +00:00
2023-01-12 18:01:10 +01:00
2023-04-17 16:49:11 +02:00
2023-04-17 16:49:11 +02:00
2023-04-17 16:49:11 +02:00
2023-02-09 20:13:56 +00:00
2022-02-17 12:26:42 +01:00
2023-01-12 18:01:10 +01:00