KT-18786: J2K should move all properties to top of class
#KT-18786 fixed
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
class Test {
|
||||
fun notNullString(p: Int): String {
|
||||
return "response"
|
||||
}
|
||||
|
||||
private val notNullInitializerField = notNullString(3)
|
||||
var notNullInitializerPublicField = notNullString(3)
|
||||
fun notNullString(p: Int): String {
|
||||
return "response"
|
||||
}
|
||||
|
||||
fun testProperty() {
|
||||
notNullInitializerField[0]
|
||||
|
||||
Reference in New Issue
Block a user