JVM_IR: Do not duplicate inline suspend functions with reified type parameters

They are inline-only.
Generate $$forInline versions of inline suspend functions as private.
This way, there is no nullability annotation on there parameters and return
values. Unfortunately, old BE does generate them.
 #KT-37088 Fixed
This commit is contained in:
Ilmir Usmanov
2020-03-03 18:00:41 +01:00
parent 3bf2c17f9e
commit 5826db97c7
7 changed files with 44 additions and 9 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// WITH_RUNTIME
suspend inline fun simple() {}