Type inference in lambda default argument

@Eliote that does unfortunately not work due to the same issue as Lambda parameter with default parameter in inline functions