Files
kotlin-fork/compiler/testData/asJava/ultraLightFacades/throwsAnnotation.kt
T

10 lines
226 B
Kotlin
Vendored

class MyException : Exception()
@Throws(java.io.IOException::class, MyException::class)
fun readFile(name: String): String { TODO() }
// Should be mapped to java.lang.Throwable
@Throws(kotlin.Throwable::class)
fun baz() {}