pyos
e1520c61da
IR: use parameters for captures in field/instance initializers
...
val y = 1
object { val x = y }
->
class XKt$1(`$y`: Int) { val x: Int = `$y` }
Note that `$y` is not stored in a field because it's not used outside
the primary constructor.
One exception is captured inline parameters on the JVM backend, as the
bytecode inliner uses field assignment instructions (setfield) to locate
them; removing the field is thus not possible.
2021-09-29 16:25:43 +02:00
..
2021-09-29 16:25:43 +02:00
2021-06-09 14:36:07 +03:00
2021-05-12 13:58:40 +02:00
2021-08-23 18:25:33 +02:00
2021-07-26 14:33:30 +02:00
2021-08-31 14:07:22 +02:00
2021-07-26 14:33:30 +02:00
2021-05-18 22:20:12 +03:00
2021-07-26 14:33:30 +02:00
2021-07-26 14:33:30 +02:00
2021-09-03 14:45:28 +02:00
2021-05-04 21:10:56 +02:00
2021-01-13 19:16:31 +01:00
2021-03-11 13:33:25 +01:00
2021-09-10 16:29:16 +03:00
2021-02-12 16:52:32 +03:00
2021-08-23 18:25:33 +02:00
2021-07-26 14:33:30 +02:00
2021-08-12 13:51:33 +02:00
2020-10-26 14:56:07 +03:00
2020-10-26 14:56:07 +03:00
2020-10-26 14:56:07 +03:00
2020-10-26 14:56:07 +03:00
2020-10-26 14:56:07 +03:00
2020-10-26 14:56:07 +03:00
2021-01-22 13:20:25 +01:00
2021-01-22 13:20:25 +01:00
2021-01-22 13:20:25 +01:00
2021-05-18 22:20:12 +03:00
2021-05-18 22:20:12 +03:00
2021-05-18 22:20:12 +03:00
2020-12-22 16:09:45 +03:00
2020-12-22 16:09:45 +03:00
2020-06-25 22:31:12 +03:00
2020-07-27 19:13:37 +03:00
2021-05-06 18:25:56 +03:00
2021-05-06 18:25:56 +03:00
2020-10-30 19:03:31 +03:00
2020-10-30 19:03:31 +03:00
2020-09-13 09:13:27 +02:00
2020-09-13 09:13:27 +02:00
2020-07-27 19:13:37 +03:00
2020-06-23 20:51:48 +03:00
2020-07-27 19:13:37 +03:00
2020-06-19 11:57:35 +02:00
2021-07-26 14:33:30 +02:00
2021-04-23 17:58:16 +02:00
2020-10-19 20:52:53 +03:00
2021-07-26 14:33:30 +02:00
2020-06-30 18:24:25 +03:00
2021-07-26 14:33:30 +02:00
2020-06-19 11:57:35 +02:00
2020-07-27 19:13:37 +03:00
2021-01-12 12:47:59 +01:00
2021-01-12 12:47:59 +01:00
2021-01-12 12:47:59 +01:00
2021-01-12 12:47:59 +01:00
2020-07-27 17:02:24 +02:00
2020-07-27 19:13:37 +03:00
2020-10-29 17:19:49 +01:00
2020-10-29 17:19:49 +01:00
2020-06-23 20:51:48 +03:00
2021-07-26 14:33:30 +02:00
2020-12-01 19:43:52 +03:00
2020-12-01 19:43:52 +03:00
2021-09-28 13:01:45 +03:00
2020-12-09 16:47:25 +03:00
2020-11-20 14:33:20 +03:00
2020-11-20 14:33:20 +03:00
2020-11-03 18:33:34 +01:00
2020-12-01 23:45:47 +01:00
2020-11-09 15:20:46 +03:00
2021-04-23 17:58:16 +02:00
2020-11-09 15:20:46 +03:00
2020-11-23 13:56:17 +03:00
2020-11-23 13:56:17 +03:00
2021-04-12 22:52:08 +03:00
2021-04-12 22:52:08 +03:00
2021-04-12 22:52:08 +03:00
2021-04-12 22:52:08 +03:00
2021-04-15 17:59:19 +03:00
2021-04-15 17:59:19 +03:00
2021-07-29 19:45:55 +02:00
2021-06-21 19:17:54 +03:00
2020-07-27 19:13:37 +03:00
2020-06-19 11:57:35 +02:00
2020-07-27 19:13:37 +03:00
2021-06-09 14:36:07 +03:00
2020-09-07 21:01:29 +02:00
2020-09-02 16:46:05 +02:00
2020-09-28 21:48:14 +03:00
2020-09-28 21:48:14 +03:00
2020-07-27 19:13:37 +03:00
2021-02-15 17:19:33 +03:00
2021-02-15 17:19:33 +03:00
2021-02-15 17:19:33 +03:00
2021-02-15 17:19:33 +03:00
2020-10-29 17:19:49 +01:00
2020-10-29 17:19:49 +01:00
2020-10-29 17:19:49 +01:00
2020-03-18 14:18:47 +03:00
2020-07-27 19:13:37 +03:00
2020-06-25 22:31:12 +03:00
2021-04-23 17:58:16 +02:00
2020-07-23 19:13:28 +03:00
2020-07-27 19:13:37 +03:00
2020-10-19 20:52:53 +03:00
2021-04-23 17:58:16 +02:00
2020-09-04 10:21:49 +03:00
2020-12-16 14:10:36 +03:00
2020-12-16 14:10:36 +03:00
2020-12-16 14:10:36 +03:00
2020-12-16 14:10:36 +03:00
2020-11-04 12:03:06 +01:00
2020-11-04 12:03:06 +01:00