Mikhail Glukhikh
d5aed62410
Smart casts for local variables not captured in a closure and not changed in a loop, see #KT-3175.
...
isLocalVariable added. Assignment / initialization analysis.
Control whether a variable is changed in a loop at the beginning and at the end of the loop.
Control whether a variable is captured in a closure. #KT-3175 Fixed. #KT-2266 Fixed.
Tests for variable null safety and for variables is/as operations.
Loop / closure / variable property tests are included.
Old tests changed in accordance with KT-3175. In particular, all three of testSmartcastImpossible were fixed.
2015-04-16 20:10:58 +03:00
..
2015-03-18 16:06:44 +03:00
2015-02-02 19:52:00 +03:00
2012-12-18 19:47:54 +04:00
2014-10-21 03:18:27 +04:00
2014-09-07 01:03:57 +04:00
2014-10-21 03:18:27 +04:00
2012-07-10 14:48:11 +04:00
2014-10-21 03:18:27 +04:00
2014-02-12 12:48:12 +04:00
2014-10-21 03:18:27 +04:00
2014-11-27 20:38:17 +03:00
2014-10-21 03:18:27 +04:00
2015-03-11 17:45:26 +03:00
2014-10-21 03:18:27 +04:00
2012-07-10 14:48:11 +04:00
2014-10-21 03:18:27 +04:00
2013-02-13 18:08:37 +04:00
2014-10-21 03:18:27 +04:00
2012-07-10 14:48:11 +04:00
2014-10-21 03:18:27 +04:00
2012-07-10 14:48:11 +04:00
2014-10-21 03:18:27 +04:00
2012-07-10 14:48:11 +04:00
2014-10-21 03:18:27 +04:00
2015-03-11 17:45:26 +03:00
2014-10-21 03:18:27 +04:00
2012-07-10 14:48:11 +04:00
2014-10-21 03:18:27 +04:00
2012-09-05 18:55:16 +04:00
2014-10-21 03:18:27 +04:00
2012-09-05 18:55:16 +04:00
2014-10-21 03:18:27 +04:00
2012-07-10 14:48:11 +04:00
2014-10-21 03:18:27 +04:00
2015-03-17 15:47:39 +03:00
2015-03-17 15:47:39 +03:00
2012-09-26 18:52:46 +02:00
2014-10-21 03:18:27 +04:00
2012-07-10 14:48:11 +04:00
2014-10-21 03:18:27 +04:00
2013-02-13 18:08:37 +04:00
2014-10-21 03:18:27 +04:00
2012-07-10 14:48:11 +04:00
2014-10-21 03:18:27 +04:00
2015-03-18 16:06:44 +03:00
2014-10-21 03:18:27 +04:00
2012-07-10 14:48:11 +04:00
2014-10-21 03:18:27 +04:00
2012-07-10 14:48:11 +04:00
2014-10-21 03:18:27 +04:00
2015-03-11 17:45:26 +03:00
2014-10-21 03:18:27 +04:00
2014-06-21 12:26:33 +04:00
2014-10-21 03:18:27 +04:00
2012-12-18 16:00:26 +04:00
2014-10-21 03:18:27 +04:00
2015-04-16 20:10:58 +03:00
2014-10-21 03:18:27 +04:00
2012-12-18 19:47:54 +04:00
2014-10-21 03:18:27 +04:00
2012-12-18 16:00:26 +04:00
2014-10-21 03:18:27 +04:00
2014-01-14 19:13:19 +04:00
2014-10-21 03:18:27 +04:00
2014-02-11 21:07:10 +04:00
2014-10-21 03:18:27 +04:00
2015-03-11 17:45:25 +03:00
2015-03-11 17:45:25 +03:00
2015-03-11 17:45:26 +03:00
2014-10-21 03:18:27 +04:00
2015-03-11 17:45:25 +03:00
2015-03-11 17:45:25 +03:00
2015-03-11 17:45:26 +03:00
2014-10-21 03:18:27 +04:00
2015-03-11 17:45:25 +03:00
2015-03-11 17:45:25 +03:00
2015-03-11 17:45:25 +03:00
2015-03-11 17:45:25 +03:00
2015-03-11 17:45:25 +03:00
2015-03-11 17:45:25 +03:00
2012-12-18 19:47:54 +04:00
2014-10-21 03:18:27 +04:00
2015-03-18 16:06:44 +03:00
2014-10-21 03:18:27 +04:00
2012-12-18 19:47:55 +04:00
2014-10-21 03:18:27 +04:00
2015-03-11 17:45:26 +03:00
2014-10-21 03:18:27 +04:00
2012-12-18 16:00:26 +04:00
2014-10-21 03:18:27 +04:00
2015-03-17 15:47:39 +03:00
2015-03-17 15:47:39 +03:00
2014-07-30 17:14:00 +04:00
2014-10-21 03:18:27 +04:00
2014-03-07 21:08:17 +04:00
2014-12-12 23:08:28 +03:00