Fixed KT-5223 Converter from Java should convert "throws" in method declaration

#KT-5223 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-06-16 19:59:21 +04:00
parent eef4e548e5
commit 0912001560
13 changed files with 38 additions and 1 deletions
@@ -11,12 +11,14 @@ class X() {
return super.toString()
}
throws(javaClass<CloneNotSupportedException>())
protected fun clone(): Any {
return super.clone()
}
}
class Y() : Thread() {
throws(javaClass<CloneNotSupportedException>())
override fun clone(): Any {
return super.clone()
}