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
..
2015-09-14 11:26:29 +03:00
2016-02-07 10:03:19 +05:30
2016-01-28 03:10:40 +03:00
2016-02-25 08:31:19 +03:00
2015-12-18 17:54:09 +03:00
2016-01-27 19:05:19 +03:00
2015-11-27 15:51:11 +03:00
2016-02-17 16:53:18 +03:00
2015-06-25 17:40:55 +03:00
2016-01-22 05:54:38 +03:00
2015-01-15 15:13:05 +03:00
2016-01-29 11:02:21 +03:00
2015-12-14 12:52:43 +03:00
2015-09-19 04:33:20 +03:00
2016-01-22 05:54:38 +03:00
2016-01-27 19:05:19 +03:00
2014-07-02 01:26:23 +04:00
2015-10-26 15:56:57 +03:00
2015-11-24 12:09:34 +03:00
2016-01-22 05:54:38 +03:00
2015-11-20 16:32:59 +03:00
2015-11-02 17:00:44 +01:00
2016-01-22 05:54:38 +03:00
2015-11-27 15:51:11 +03:00
2015-11-27 15:51:11 +03:00
2014-11-13 20:56:08 +03:00
2015-10-13 10:48:37 +03:00
2015-11-27 15:51:11 +03:00
2016-01-22 05:54:38 +03:00
2016-01-22 05:54:38 +03:00
2016-01-22 05:54:38 +03:00
2016-01-27 19:05:19 +03:00
2016-01-26 11:49:18 +03:00
2016-01-29 14:36:53 +03:00
2015-09-19 04:33:20 +03:00
2014-11-27 20:38:18 +03:00
2016-01-22 05:54:38 +03:00
2015-10-14 18:36:53 +03:00
2016-01-22 05:54:38 +03:00
2015-10-28 19:11:59 +03:00
2015-10-15 09:16:21 +03:00
2015-12-26 10:46:39 +03:00
2015-08-10 16:24:12 +03:00
2014-07-21 17:13:56 +04:00