Brian Norman
17a1871b83
[FIR] Make sure the primary constructor is first in class CFG
...
The primary constructor of a class needs to be the first subgraph of the
class control-flow graph. Based on the Kotlin specification, class
initialization order goes first primary constructor, in-place
declarations (properties and init blocks), and then secondary
constructors. If the class doesn't have a primary constructor, then it
is just skipped in the order.
Unfortunately, the class control-flow graph had in-place declarations
first and then all constructors. Instead, we should treat the primary
constructor as the first in-place declaration, and then continue with
the existing processing as secondary constructors. This will guarantee
that super constructor calls have the correct property initialization
information.
^KT-65093 Fixed
2024-01-23 23:16:00 +00:00
..
2024-01-23 23:16:00 +00:00
2023-12-14 16:40:27 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-01-11 08:30:36 +00:00
2022-01-14 14:26:49 +03:00
2022-01-14 14:26:49 +03:00
2023-01-11 08:30:36 +00:00
2022-01-14 14:26:49 +03:00
2022-01-14 14:26:49 +03:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-03-09 12:32:49 +00:00
2023-03-09 12:32:49 +00:00
2021-08-03 00:17:33 +03:00
2023-07-27 13:05:58 +00:00
2023-07-27 13:05:58 +00:00
2022-04-05 15:50:47 +00:00
2022-08-11 10:38:23 +00:00
2022-08-11 10:38:23 +00:00
2022-08-11 10:38:23 +00:00
2022-08-11 10:38:23 +00:00
2022-08-11 10:38:23 +00:00
2022-08-11 10:38:23 +00:00
2022-08-11 10:38:23 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-07-05 06:56:13 +00:00
2023-07-05 06:56:13 +00:00
2023-07-05 06:56:13 +00:00
2024-01-23 23:16:00 +00:00
2021-07-19 13:40:28 +03:00
2023-12-14 16:40:27 +00:00
2023-07-14 13:42:29 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-03-02 10:23:38 +00:00
2023-03-02 10:23:38 +00:00
2024-01-23 23:16:00 +00:00
2024-01-23 23:16:00 +00:00
2024-01-23 23:16:00 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2021-06-25 16:37:35 +03:00
2021-06-25 16:37:35 +03:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2022-10-31 13:49:57 +00:00
2022-10-31 13:49:57 +00:00
2023-04-19 20:12:38 +00:00
2022-12-20 08:12:09 +00:00
2023-04-19 20:12:38 +00:00
2023-03-02 10:23:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-08-24 07:49:20 +00:00
2023-01-31 08:39:43 +00:00
2023-01-31 08:39:43 +00:00
2021-07-19 13:40:28 +03:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2021-08-04 17:33:08 +03:00
2022-04-28 14:39:59 +03:00
2022-04-28 14:39:59 +03:00
2021-07-19 13:40:28 +03:00
2023-02-17 11:26:18 +00:00
2022-02-10 21:20:47 +00:00
2021-06-25 16:37:35 +03:00
2021-06-25 16:37:35 +03:00
2021-06-25 16:37:35 +03:00
2021-06-25 16:37:35 +03:00
2021-06-25 16:37:35 +03:00
2021-06-25 16:37:35 +03:00
2021-10-03 17:10:06 +03:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-09-19 13:42:54 +00:00
2023-07-05 06:56:14 +00:00
2023-07-05 06:56:14 +00:00
2023-10-05 13:41:45 +00:00
2021-08-06 11:49:34 +03:00
2023-01-26 09:50:24 +00:00
2023-11-09 19:28:26 +00:00
2023-11-09 19:28:26 +00:00
2023-04-19 20:12:38 +00:00
2023-04-19 20:12:38 +00:00
2023-09-19 13:42:54 +00:00
2023-04-19 20:12:38 +00:00
2023-07-25 13:16:37 +00:00
2023-07-05 06:56:13 +00:00
2023-04-19 20:12:38 +00:00
2023-12-14 16:40:27 +00:00
2023-09-05 11:59:13 +00:00
2023-09-05 11:59:13 +00:00
2023-02-27 15:00:30 +00:00
2022-03-28 12:37:25 +00:00
2023-04-19 20:12:38 +00:00
2023-03-28 15:35:12 +00:00
2022-09-16 07:12:19 +00:00
2023-03-02 10:23:38 +00:00
2023-03-28 15:35:12 +00:00
2022-09-16 07:12:19 +00:00
2023-03-02 10:23:38 +00:00
2023-03-28 15:35:12 +00:00
2023-01-30 09:29:57 +00:00
2023-09-19 13:42:54 +00:00
2023-04-19 20:12:38 +00:00
2023-03-02 10:23:38 +00:00
2023-04-19 20:12:38 +00:00
2023-03-02 10:23:38 +00:00
2022-05-19 07:14:23 +00:00
2022-05-19 07:14:23 +00:00
2022-05-19 07:14:23 +00:00