Adjust testData: get rid of obsolete annotations
This commit is contained in:
@@ -3,8 +3,8 @@ package test
|
||||
class E1: Exception()
|
||||
class E2: Exception()
|
||||
|
||||
class None [throws()]() {}
|
||||
class One [throws(E1::class)]()
|
||||
class Two [throws(E1::class, E2::class)]()
|
||||
class None @throws() constructor() {}
|
||||
class One @throws(E1::class) constructor()
|
||||
class Two @throws(E1::class, E2::class) constructor()
|
||||
|
||||
class OneWithParam [throws(E1::class)](a: Int)
|
||||
class OneWithParam @throws(E1::class) constructor(a: Int)
|
||||
@@ -5,7 +5,7 @@ class E1: Exception()
|
||||
throws(E1::class) jvmOverloads
|
||||
fun one(a: Int = 1) {}
|
||||
|
||||
class One [throws(E1::class)] (a: Int = 1) {
|
||||
class One @throws(E1::class) constructor(a: Int = 1) {
|
||||
throws(E1::class)
|
||||
fun one(a: Int = 1) {}
|
||||
}
|
||||
Reference in New Issue
Block a user