fix crash with generic function and implicit cast

fcedc35551Andrew Kelley committed on 4/14/2016, 5:39:03 PMparent83a59c4
4 files changedLine totals unavailable