Fixed KT-5223 Converter from Java should convert "throws" in method declaration
#KT-5223 Fixed
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import java.io.*
|
||||
|
||||
public class C() {
|
||||
throws(javaClass<IOException>())
|
||||
fun foo() {
|
||||
FileInputStream("foo").use { stream -> System.out.println(stream.read()) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user