6ef2340eb5
Change declaration, testData and codegen parts for `throws`
13 lines
156 B
Kotlin
13 lines
156 B
Kotlin
package test
|
|
|
|
class E1: Exception()
|
|
class E2: Exception()
|
|
|
|
throws()
|
|
fun none() {}
|
|
|
|
throws(E1::class)
|
|
fun one() {}
|
|
|
|
throws(E1::class, E2::class)
|
|
fun two() {} |