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
@@ -1,6 +1,7 @@
import java.io.*
public class C() {
throws(javaClass<IOException>())
fun foo() {
FileInputStream("foo").use { stream -> System.out.println(stream.read()) }
}