Make private inline suspend functions effectively inline-only

This commit is contained in:
Ilmir Usmanov
2018-05-14 12:47:19 +03:00
parent 8a5ae16947
commit de7aa23119
3 changed files with 9 additions and 1 deletions
@@ -18,6 +18,8 @@ suspend inline fun shouldNotHaveSuffix() {}
suspend inline fun acceptsCrossinline(crossinline c: () -> Unit) {}
private suspend inline fun privateInline() {}
class Foo {
suspend inline fun simple() {}
@@ -36,4 +38,6 @@ class Foo {
suspend inline fun shouldNotHaveSuffix() {}
suspend inline fun acceptsCrossinline(crossinline c: () -> Unit) {}
private suspend inline fun privateInline() {}
}