Denis Zharkov
914447b7eb
Do not treat uninitialized value as a reason to retain boxing
...
See testData/simpleUnitializedMerge.kt
On exit from `if` we merge value in variable with slot 1 (x):
- from `if` body we get BoxedBasicValue
- from outer block we get UNITIALIZED_VALUE
So we just suppose `x` is unitialized after `if`
and there's no need to mark BoxedValue as unsafe to remove
because it's anyway can't be used after `if`
#KT-6842 Fixed
2016-02-25 08:31:19 +03:00
..
2016-02-16 18:59:10 +03:00
2016-02-19 12:52:40 +03:00
2016-01-25 19:13:30 +03:00
2016-02-25 08:31:19 +03:00
2016-01-19 18:39:59 +03:00
2016-01-22 22:06:22 +03:00
2015-11-03 14:06:04 +01:00
2015-12-29 18:04:13 +03:00
2015-11-30 18:21:01 +03:00
2016-01-19 10:53:53 +01:00
2015-11-27 21:41:26 +03:00
2015-12-29 18:04:15 +03:00
2016-02-16 18:59:10 +03:00
2016-02-17 16:53:18 +03:00
2016-02-25 08:31:19 +03:00
2016-02-16 18:59:10 +03:00
2015-11-27 21:41:26 +03:00
2016-01-22 22:06:22 +03:00
2015-12-24 13:59:43 +03:00
2015-11-26 00:24:38 +03:00
2015-01-12 00:24:12 +03:00
2016-01-07 17:57:38 +01:00
2015-10-15 10:33:47 +03:00
2015-08-11 10:38:10 +03:00
2015-02-10 06:55:46 +01:00
2015-12-28 07:44:56 +03:00
2015-10-19 21:35:30 +02:00
2016-02-06 15:53:55 +05:30
2016-02-19 12:52:40 +03:00
2015-11-03 14:06:04 +01:00
2016-02-06 15:53:55 +05:30
2016-02-16 18:59:10 +03:00
2016-01-07 17:57:38 +01:00
2016-01-12 15:51:57 +03:00
2016-01-07 17:57:38 +01:00
2015-10-16 18:16:02 +03:00
2015-01-12 00:24:12 +03:00
2015-10-19 16:03:16 +03:00
2015-10-19 19:09:30 +03:00
2016-01-07 17:57:38 +01:00
2016-02-16 18:59:10 +03:00
2015-12-24 13:59:43 +03:00
2015-10-19 16:03:16 +03:00
2016-02-18 21:22:04 +03:00
2015-01-12 00:24:12 +03:00
2015-11-27 21:41:26 +03:00
2016-01-27 18:34:30 +03:00
2016-02-16 18:59:10 +03:00
2015-10-15 09:16:21 +03:00