Fix a bug where "ambiguous first argument" diagnostic was not emitted

Let me know if this isn't a smart way.