Java to Kotlin converter: converting usages of Kotlin object members
#KT-5172 Fixed
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
//file
|
||||
import kotlinApi.KotlinObject;
|
||||
|
||||
class C {
|
||||
int foo() {
|
||||
KotlinObject.instance$.setProperty1(1);
|
||||
KotlinObject.instance$.setProperty2(2);
|
||||
return KotlinObject.instance$.foo() +
|
||||
KotlinObject.instance$.getProperty1() +
|
||||
KotlinObject.instance$.getProperty2();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user