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-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2017-01-11 11:50:33 +01:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-29 16:15:49 +03:00
2017-01-24 20:09:32 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2017-01-13 10:31:07 +03:00
2017-01-25 13:54:01 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2017-01-12 18:12:36 +03:00
2017-01-23 12:25:35 +03:00
2017-01-13 18:01:05 +01:00
2016-12-28 22:28:30 +03:00
2017-01-10 11:44:51 +03:00
2016-12-28 22:28:30 +03:00
2017-01-24 16:59:47 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2017-01-23 20:09:36 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2017-01-13 10:31:07 +03:00
2017-01-10 11:44:51 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2017-01-12 18:12:38 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-29 16:15:49 +03:00
2016-12-28 22:28:30 +03:00
2017-01-23 12:25:36 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2017-01-25 13:52:16 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2016-12-28 22:28:30 +03:00
2017-01-24 15:17:47 +01:00