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-13 11:15:59 +03:00
2019-11-19 11:00:09 +03:00
2020-02-11 22:50:06 +03:00
2020-01-08 13:20:00 +01:00
2020-02-06 12:44:14 +03:00
2020-01-08 13:20:00 +01:00
2020-02-12 10:17:45 +03:00
2020-02-07 18:44:50 +03:00
2020-02-14 18:22:17 +03:00
2020-02-15 22:38:10 +03:00
2019-11-19 11:00:09 +03:00
2020-02-17 23:04:11 +03:00
2020-01-10 10:43:07 +03:00
2020-02-06 12:44:14 +03:00
2019-11-19 11:00:09 +03:00
2019-12-24 12:50:06 +03:00
2019-12-27 13:46:05 +03:00
2020-02-06 12:44:14 +03:00
2020-02-17 10:29:45 +03:00
2020-02-17 10:29:45 +03:00
2020-02-17 20:35:17 +03:00
2020-02-12 12:23:13 +03:00
2020-01-31 16:41:25 +03:00
2019-11-19 11:00:09 +03:00
2020-02-06 21:03:41 +03:00
2020-02-17 10:29:46 +03:00
2020-02-07 18:44:50 +03:00
2020-02-06 12:44:14 +03:00
2020-02-11 22:50:06 +03:00
2020-01-22 15:51:11 +01:00
2019-12-03 11:54:41 +03:00
2019-11-19 11:00:09 +03:00
2019-12-11 16:54:15 +03:00
2020-02-17 20:35:16 +03:00
2020-01-10 10:43:07 +03:00
2020-02-11 15:53:25 +01:00
2019-11-19 11:00:09 +03:00
2020-01-10 10:43:07 +03:00
2019-12-27 15:32:18 +03:00
2020-01-20 16:36:03 +03:00
2020-02-11 23:14:51 +03:00
2020-02-17 12:21:00 +03:00
2019-11-19 11:00:09 +03:00
2020-01-31 09:31:52 +01:00
2020-01-30 17:12:50 +03:00
2020-02-17 10:29:45 +03:00
2020-02-14 18:22:17 +03:00
2020-01-10 10:43:07 +03:00
2019-11-19 11:00:09 +03:00
2020-01-10 14:05:25 +01:00
2020-02-14 18:22:17 +03:00
2020-02-13 11:15:59 +03:00
2019-11-19 11:00:09 +03:00
2020-02-07 18:44:50 +03:00
2020-02-06 12:44:14 +03:00
2020-02-11 16:09:21 +03:00
2019-12-05 13:08:51 +03:00
2020-02-06 12:44:14 +03:00
2020-02-09 13:12:33 +03:00
2019-12-27 15:32:18 +03:00
2020-01-31 16:41:25 +03:00
2020-02-06 12:44:14 +03:00
2020-02-05 11:19:21 +03:00
2020-02-14 17:53:28 +03:00
2020-02-06 12:44:14 +03:00
2020-02-11 16:09:21 +03:00
2020-02-13 11:35:48 +03:00
2020-02-17 10:29:45 +03:00
2020-02-06 12:44:14 +03:00
2019-11-19 11:00:09 +03:00
2020-02-17 23:04:11 +03:00
2020-01-29 09:12:40 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2020-02-06 12:44:14 +03:00
2020-02-07 12:24:13 +01:00
2020-02-12 17:36:08 +01:00
2020-01-21 15:57:35 +01:00
2020-02-06 12:44:14 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 23:02:35 +03:00
2020-02-14 18:22:17 +03:00
2020-01-10 10:43:07 +03:00
2020-02-17 20:35:17 +03:00
2020-02-14 18:22:17 +03:00
2020-02-07 18:44:50 +03:00
2020-01-31 16:41:25 +03:00
2019-11-25 09:37:47 +03:00
2020-02-13 23:43:03 +03:00
2019-11-19 11:00:09 +03:00
2020-02-13 11:15:59 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2020-02-17 20:35:16 +03:00
2020-02-13 14:34:18 +01:00
2020-01-30 16:28:08 +03:00
2019-11-19 11:00:09 +03:00
2020-02-17 20:35:17 +03:00
2020-02-10 16:08:10 +01:00
2020-01-08 13:20:00 +01:00
2020-02-07 18:44:50 +03:00
2020-01-16 12:43:09 +01:00
2019-12-23 14:24:48 +01:00
2020-02-06 12:44:14 +03:00
2019-11-01 19:40:20 +03:00
2020-02-14 17:20:34 +03:00
2020-01-23 12:32:39 +03:00
2020-02-17 20:35:16 +03:00
2020-02-05 21:51:33 +01:00
2019-12-11 16:54:15 +03:00
2020-02-06 12:44:14 +03:00
2020-01-03 16:44:50 +01:00
2020-02-14 17:53:28 +03:00
2020-02-11 16:09:20 +03:00