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:
@@ -4,7 +4,7 @@ trait Getter {
|
||||
|
||||
class C() {
|
||||
fun foo(b: Boolean): String {
|
||||
val getter = object : Getter() {
|
||||
val getter = object : Getter {
|
||||
override fun get(): String? {
|
||||
return null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user