== C == class C { fun component1() = 1 fun component2() = 2 } --------------------- ===================== == component1 == fun component1() = 1 --------------------- 1 NEW() ===================== == component2 == fun component2() = 2 --------------------- 2 NEW() ===================== == test == fun test(c: C) { val (a, b) = c val d = 1 } --------------------- a NEW() b NEW() c NEW() 1 NEW() =====================