Files
kotlin-fork/compiler/testData/codegen/box
Ilmir Usmanov 20b9d8b2f3 Generate state-machine even if the object is going to be transformed
This fixes Java interop of inline functions, which use coroutines.
However, we cannot transform the state-machine. Thus, we generate
a $$forInline counterpart for suspend functions (similar to inline
suspend functions) and invokeSuspend$$forInline for lambdas if these
coroutines are going to transformed (i.e. are declared inside inline
functions).
During transformation we just skip method with state-machine and
transform the $$forInline counterpart. Of course, if inline site is
inline itself, we generate both state-machine version (which will be
dropped during the next transformation) and $$forInline version.
Consequently, the final version of the coroutines will not have
$$forInline counterpart.
Unfortunately, since CompileKotlinAgainstInlineKotlin tests do not allow
java sources, the tests for the interop are usual box tests.

 #KT-30707 Fixed
2019-04-18 01:12:52 +03:00
..
2019-02-25 15:09:26 +03:00
2019-04-08 13:10:22 +02:00
2019-01-31 18:19:41 +03:00
2018-10-15 00:03:45 +03:00
2018-07-10 13:34:19 +03:00
2019-04-08 13:10:22 +02:00
2019-04-08 13:10:22 +02:00
2018-07-10 13:34:19 +03:00
2019-02-15 16:25:16 +03:00
2018-08-09 14:22:50 +03:00
2019-04-08 13:10:22 +02:00
2019-01-24 23:05:56 +03:00
2018-06-14 19:54:30 +03:00
2018-08-02 15:51:16 +02:00
2018-10-22 16:32:55 +02:00
2018-10-10 17:27:37 +03:00
2018-08-15 10:26:28 +03:00
2019-02-19 16:37:47 +01:00