Go to Implementation: Support suspend functions

This commit is contained in:
Alexey Sedunov
2017-09-25 11:49:37 +03:00
parent 21bf4d3f24
commit ea8f3dcc65
8 changed files with 123 additions and 14 deletions
@@ -0,0 +1,8 @@
package test
interface I {
suspend fun <caret>foo(s: String)
}
// REF: [js] (in test.C).foo(String)
// REF: [jvm] (in test.C).foo(String)
@@ -0,0 +1,5 @@
package test
class C : I {
override suspend fun foo(s: String) { }
}
@@ -0,0 +1,5 @@
package test
class C : I {
override suspend fun foo(s: String) { }
}