Support [throws] annotation
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class E1: Exception()
|
||||
|
||||
throws(javaClass<E1>())
|
||||
fun one(a: Int = 1) {}
|
||||
|
||||
class One [throws(javaClass<E1>())] (a: Int = 1) {
|
||||
throws(javaClass<E1>())
|
||||
fun one(a: Int = 1) {}
|
||||
}
|
||||
Reference in New Issue
Block a user