Fix throws-list for case of kotlin.Throwable in ultra-light classes
This commit is contained in:
@@ -3,4 +3,8 @@ class MyException : Exception
|
||||
class C @Throws(Exception::class) constructor(a: Int = 1) {
|
||||
@Throws(java.io.IOException::class, MyException::class)
|
||||
fun readFile(name: String): String {}
|
||||
|
||||
// Should be mapped to java.lang.Throwable
|
||||
@Throws(kotlin.Throwable::class)
|
||||
fun baz() {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user