silas.schwarz
11/14/2017, 5:31 PMobject DoItLater {
@JvmStatic
fun main(args: Array<String>) {
val hi = Test("hi")
println(hi.other)
println(hi.other)
println(hi.other)
}
val Test.other by lazy {
//not working
this.someProperty.reversed()
//not working
it.someProperty.reversed()
}
}
class Test(val someProperty: String)