Type inference use the default value of argument not work?

Thanks for explain.

But, i still remember asterite said, The compiler doesn’t look at calls to infer the type of instance vars, i found the following link.

So, why this happen for a local variable? (value treat as a local variable, right?)