This works for me ```fun testKek() { class A {...
# announcements
r
This works for me
Copy code
fun testKek() {
    class A {
        val x = HashMap<String, Int>()
        operator fun get(s: String) = x[s]!!

        init {
            x["topkek"] = 42
        }
    }

    println("${A()["topkek"]}")
}