Denis Zharkov
02b40326cc
Fix incorrect coroutines codegen behavior
...
If all the suspension calls in a suspend function were "hidden"
under the for-convention (iterator/next/hasNext) calls,
control-flow didn't find them, thus supposing that there is no
suspension points and there is no need to generate a coroutine state machine
The solution is to add relevant calls to CFG
#KT-15824 Fixed
2017-01-25 13:54:01 +03:00
..
2016-08-31 19:28:09 +03:00
2016-08-31 19:28:09 +03:00
2016-08-31 19:28:09 +03:00
2016-03-30 18:49:23 +03:00
2016-03-30 18:49:23 +03:00
2016-03-30 18:49:23 +03:00
2017-01-10 17:57:43 +03:00
2014-09-05 18:31:53 +04:00
2016-03-14 16:13:14 +03:00
2017-01-25 13:54:01 +03:00
2014-09-05 18:31:53 +04:00
2017-01-25 13:54:01 +03:00
2014-09-07 01:04:00 +04:00
2014-09-05 18:31:53 +04:00
2014-09-05 18:31:53 +04:00
2017-01-25 13:54:01 +03:00
2015-09-25 08:29:25 +03:00
2017-01-25 13:54:01 +03:00
2016-08-31 19:28:09 +03:00
2016-08-17 12:40:50 +03:00
2017-01-25 13:54:01 +03:00
2017-01-25 13:54:01 +03:00
2014-09-07 01:04:00 +04:00
2014-07-28 13:07:32 +04:00
2017-01-10 17:57:43 +03:00
2016-03-14 16:13:14 +03:00
2016-03-14 16:13:14 +03:00
2017-01-25 13:54:01 +03:00
2015-03-11 23:33:57 +03:00
2017-01-25 13:54:01 +03:00
2016-08-31 19:28:09 +03:00
2015-12-02 18:14:59 +03:00
2015-12-02 18:14:59 +03:00
2017-01-10 17:57:43 +03:00
2014-04-09 14:47:05 -04:00
2014-07-28 13:07:29 +04:00
2014-09-07 01:04:00 +04:00
2014-07-28 13:07:32 +04:00
2014-09-07 01:04:00 +04:00
2014-07-11 19:13:46 +04:00
2015-10-09 14:40:34 +03:00
2015-12-26 10:46:01 +03:00
2015-05-18 19:44:29 +03:00
2015-12-26 10:46:01 +03:00