Migrate type of throws parameter to KClass
Change declaration, testData and codegen parts for `throws`
This commit is contained in:
@@ -6,8 +6,8 @@ class E2: Exception()
|
||||
throws()
|
||||
fun none() {}
|
||||
|
||||
throws(javaClass<E1>())
|
||||
throws(E1::class)
|
||||
fun one() {}
|
||||
|
||||
throws(javaClass<E1>(), javaClass<E2>())
|
||||
throws(E1::class, E2::class)
|
||||
fun two() {}
|
||||
Reference in New Issue
Block a user