v2 = 3 println(inlineSquare(v2)) } fun noInlineSquare(v: Int) = v * v inline fun inlineSquare(v: Int) = v * v println(noInlineSquare(v1)) println(v2 * v2)
v2 = 3 println(inlineSquare(v2)) } fun noInlineSquare(v: Int) = v * v inline fun inlineSquare(v: Int) = v * v println(v2 * v2) println(noInlineSquare(v1))