fix assertion failed when invalid type encountered

cd36baf530Andrew Kelley committed on 11/25/2017, 3:04:24 AMparent40480c7
2 files changedLine totals unavailable