Migrate type of throws parameter to KClass
Change declaration, testData and codegen parts for `throws`
This commit is contained in:
@@ -4,7 +4,7 @@ class E1: Exception()
|
||||
class E2: Exception()
|
||||
|
||||
class None [throws()]() {}
|
||||
class One [throws(javaClass<E1>())]()
|
||||
class Two [throws(javaClass<E1>(), javaClass<E2>())]()
|
||||
class One [throws(E1::class)]()
|
||||
class Two [throws(E1::class, E2::class)]()
|
||||
|
||||
class OneWithParam [throws(javaClass<E1>())](a: Int)
|
||||
class OneWithParam [throws(E1::class)](a: Int)
|
||||
Reference in New Issue
Block a user