Only allow default values for lambda parameter in combination with type
Otherwise, grammar rules are ambiguous