6ef2340eb5
Change declaration, testData and codegen parts for `throws`
11 lines
184 B
Kotlin
11 lines
184 B
Kotlin
package test
|
|
|
|
class E1: Exception()
|
|
|
|
throws(E1::class) overloads
|
|
fun one(a: Int = 1) {}
|
|
|
|
class One [throws(E1::class)] (a: Int = 1) {
|
|
throws(E1::class)
|
|
fun one(a: Int = 1) {}
|
|
} |