``` class Test { val byte: Byte = 10 val...
# announcements
d
Copy code
class Test {

    val byte: Byte = 10

    val int: Int = 11

    val short: Short = 20

    val string: String = "asdfasd"
}

fun test1(accessor: Test.() -> Int): Int {
    val i: Int = Test().accessor()
    return i + 10
}

fun test2(): Int {
    val i: Int = Test().let { <http://it.int|it.int> }
    return i + 10
}