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
..
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-21 15:53:52 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2020-01-10 10:43:07 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2018-06-19 17:09:31 +03:00
2019-11-19 11:00:09 +03:00
2018-07-11 15:25:41 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2020-01-10 10:43:07 +03:00
2019-11-19 11:00:09 +03:00
2019-11-21 15:53:52 +03:00
2019-11-19 11:00:09 +03:00
2020-02-17 23:04:11 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-01-23 15:11:14 +01:00
2018-07-10 14:11:09 +03:00
2019-11-21 15:53:52 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2018-06-19 17:09:31 +03:00
2019-12-11 16:54:15 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2020-02-11 22:50:06 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-25 09:37:47 +03:00
2020-02-06 12:44:14 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +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-06 12:44:14 +03:00
2020-01-10 10:43:07 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2018-12-21 16:09:11 +01:00
2019-11-19 11:00:09 +03:00
2019-12-27 10:13:44 +03:00
2020-01-10 10:43:07 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2020-02-05 11:19:21 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-02-12 18:45:35 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:10 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2020-01-29 18:00:45 +01:00
2019-11-19 11:00:09 +03:00
2019-11-19 11:00:09 +03:00
2019-12-05 13:08:51 +03:00
2019-11-19 11:00:09 +03:00