Use AnonymousFunctionDescriptor for suspend callable references

Also use it for local suspend functions, which allows us to remove hack
with dropSuspend.

Regenerate tests.
This commit is contained in:
Ilmir Usmanov
2018-07-03 16:06:41 +03:00
parent eea95441c5
commit 28ad498956
31 changed files with 259 additions and 292 deletions
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS, JS_IR
// COMMON_COROUTINES_TEST
// WITH_RUNTIME
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS, NATIVE
// IGNORE_BACKEND: JS, NATIVE, JS_IR
// WITH_REFLECT
// COMMON_COROUTINES_TEST
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS, NATIVE
// IGNORE_BACKEND: JS, JS_IR, NATIVE
// WITH_REFLECT
// COMMON_COROUTINES_TEST
@@ -1,5 +1,5 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
// IGNORE_BACKEND: JS, NATIVE, JS_IR
// IGNORE_LIGHT_ANALYSIS
// LANGUAGE_VERSION: 1.2
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS, NATIVE
// IGNORE_BACKEND: JS, NATIVE, JS_IR
// COMMON_COROUTINES_TEST
fun box(): String {