semantic: Improve mismatched parameter error message.