Fix parameters type inference in function comments