Migrate type of throws parameter to KClass

Change declaration, testData and codegen parts for `throws`
This commit is contained in:
Denis Zharkov
2015-04-20 19:58:02 +03:00
parent e1dfdc582d
commit 6ef2340eb5
9 changed files with 21 additions and 20 deletions
@@ -2,10 +2,10 @@ package test
class E1: Exception()
throws(javaClass<E1>()) overloads
throws(E1::class) overloads
fun one(a: Int = 1) {}
class One [throws(javaClass<E1>())] (a: Int = 1) {
throws(javaClass<E1>())
class One [throws(E1::class)] (a: Int = 1) {
throws(E1::class)
fun one(a: Int = 1) {}
}