Mark Punzalan
64141b8b38
[JVM IR] Fix issue where fields are not being set to their default
...
values within initializer blocks.
The issue occurs in code like this:
```
class C {
var b = true
init {
b = false // Missing PUTFIELD for this statement
}
}
```
Added a new statement origin for field initialization (at declaration)
instead of relying on `origin == null` in ExpressionCodegen to determine
whether to generate the initializations.
This was unintentionally broken in
d68a1898d0 .
2020-02-17 23:04:11 +03:00
..
2020-02-14 14:07:03 +03:00
2019-10-21 21:05:18 +03:00
2020-01-20 16:00:36 +01:00
2020-02-14 14:07:03 +03:00
2020-02-07 18:44:50 +03:00
2019-06-04 14:56:13 +02:00
2020-02-14 14:07:03 +03:00
2020-02-14 14:07:03 +03:00
2020-02-14 14:07:03 +03:00
2020-02-13 21:50:48 +03:00
2019-11-29 16:49:52 +01:00
2019-10-17 15:41:42 +02:00
2020-01-31 09:31:52 +01:00
2019-11-29 16:49:52 +01:00
2020-01-21 16:34:33 +01:00
2020-01-14 21:04:42 +01:00
2020-01-20 19:12:59 +01:00
2020-01-29 16:59:57 +01:00
2019-08-09 12:14:44 +03:00
2019-12-17 12:41:22 +01:00
2020-02-15 22:32:23 +03:00
2019-12-11 15:09:37 +01:00
2019-11-07 18:49:27 +01:00
2020-02-14 17:35:17 +09:00
2020-02-15 22:32:23 +03:00
2020-02-07 18:44:50 +03:00
2020-01-17 14:14:59 +03:00
2019-05-14 20:19:43 +02:00
2019-12-02 08:19:52 +01:00
2020-01-20 19:12:59 +01:00
2020-02-14 17:35:17 +09:00
2019-11-29 13:38:34 +01:00
2020-01-21 11:26:02 +01:00
2019-11-18 18:58:40 +01:00
2020-01-20 16:36:03 +03:00
2020-02-05 11:15:41 +03:00
2020-01-17 14:14:59 +03:00
2019-10-02 17:14:48 +04:00
2019-12-18 15:25:57 +03:00
2019-09-17 15:50:47 +03:00
2019-10-18 17:22:58 +02:00
2019-10-31 11:13:44 +03:00
2020-02-17 15:44:48 +01:00
2020-02-12 22:57:15 +03:00
2019-11-28 08:31:15 +01:00
2019-07-16 11:15:19 +02:00
2019-08-13 14:24:55 +02:00
2019-05-13 19:09:07 +03:00
2019-12-19 14:25:56 +01:00
2019-10-05 10:52:59 +02:00
2020-01-31 09:31:52 +01:00
2020-02-14 14:07:03 +03:00
2019-10-23 11:11:16 +02:00
2020-02-11 17:01:22 +01:00
2019-04-18 19:56:19 +02:00
2019-04-18 09:16:32 +02:00
2019-04-18 09:16:32 +02:00
2020-01-20 19:12:59 +01:00
2020-02-14 14:07:03 +03:00
2019-10-28 15:26:38 +01:00
2019-10-28 15:26:38 +01:00
2020-01-31 09:31:52 +01:00
2020-02-14 14:07:03 +03:00
2020-02-14 14:07:03 +03:00
2020-02-14 14:07:03 +03:00
2019-08-12 16:09:23 +02:00
2019-11-06 13:11:44 +01:00
2020-02-14 14:07:03 +03:00
2020-02-14 14:07:03 +03:00
2020-01-31 13:20:30 +01:00
2019-08-14 11:16:10 +03:00
2019-10-10 14:07:43 +03:00
2019-04-18 09:16:32 +02:00
2020-02-14 14:07:03 +03:00
2019-04-08 13:10:22 +02:00
2020-02-17 23:04:11 +03:00
2020-02-17 23:04:11 +03:00
2020-02-17 23:04:11 +03:00
2020-02-17 23:04:11 +03:00
2019-08-27 10:44:23 +02:00
2019-04-08 13:10:22 +02:00
2019-04-08 13:10:22 +02:00
2019-04-08 13:10:22 +02:00
2019-08-27 10:44:23 +02:00
2020-02-11 17:01:22 +01:00