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
..
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-16 14:33:02 +03:00
2017-01-24 20:13:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-18 12:00:45 +03:00
2017-01-14 13:24:53 +03:00
2017-01-25 13:54:01 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-16 14:33:02 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-18 12:00:46 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-24 20:13:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-18 12:00:45 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-24 20:11:55 +03:00
2017-01-24 20:11:55 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00
2017-01-14 13:24:53 +03:00