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
@@ -4,7 +4,7 @@ class E1: Exception()
class E2: Exception()
class None [throws()]() {}
class One [throws(javaClass<E1>())]()
class Two [throws(javaClass<E1>(), javaClass<E2>())]()
class One [throws(E1::class)]()
class Two [throws(E1::class, E2::class)]()
class OneWithParam [throws(javaClass<E1>())](a: Int)
class OneWithParam [throws(E1::class)](a: Int)