silas.schwarz
11/14/2017, 5:49 PMobject DoItLater {
@JvmStatic
fun main(args: Array<String>) {
val foo = Test("hi")
val bar = Test("ho")
println(foo.other)
println(bar.other)
}
val Test.other: String
get() = this.someProperty.reversed()
}
class Test(val someProperty: String)
this works and uses information from the Test instances