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:
@@ -0,0 +1,13 @@
|
||||
//file
|
||||
abstract class A {}
|
||||
|
||||
class C {
|
||||
void foo() {
|
||||
A a = new A() {
|
||||
@Override
|
||||
public String toString() {
|
||||
return "a";
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user