Java to Kotlin converter: supported try-with-resource construct, fixed anonymous class generation + fixed a bug with method return type

#KT-4488 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-06-11 13:07:13 +04:00
parent 1b948ef8f1
commit 149ea16f5c
46 changed files with 724 additions and 107 deletions
@@ -0,0 +1,11 @@
abstract class A()
class C() {
fun foo() {
val a = object : A() {
override fun toString(): String {
return "a"
}
}
}
}