Is the autoboxing involved when the extension function normalize
is called?
fun Number.normalize(){ /* some code */}
class Foo{
fun bar(d: Double){
val result = d.normalize()
// some code
}
}
Note, that the extension function is defined for Number
type, not for Double
.