Fix small compilation problems in LC testdata which should not influence LC results

This commit is contained in:
Ilya Kirillov
2021-12-23 15:11:52 +03:00
parent 02f9f116b2
commit 4e58dc3467
8 changed files with 14 additions and 13 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
//RELEASE_COROUTINE_NEEDED
suspend fun doSomething(foo: String): Int {}
suspend fun doSomething(foo: String): Int { TODO() }
fun <T> async(block: suspend () -> T)
fun <T> async(block: suspend () -> T) { TODO() }
// WITH_STDLIB
// FIR_COMPARISON
@@ -1,2 +1,3 @@
@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
@kotlin.internal.InlineOnly
inline fun foo() {}
@@ -1,8 +1,8 @@
class MyException : Exception
class MyException : Exception()
@Throws(java.io.IOException::class, MyException::class)
fun readFile(name: String): String {}
fun readFile(name: String): String { TODO() }
// Should be mapped to java.lang.Throwable
@Throws(kotlin.Throwable::class)