Show type errors for inst_meth and fun

Fixes #187