Emitter: Better argument type mismatch errors. Fixes #76.