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