Catch more errors during the type resolution phase

Returning the uninitialized/stale error condition made the compiler turn
a blind eye to some problems.
271fc6a247LemonBoy committed on 1/2/2020, 5:53:20 PMparent563d9eb
2 files changedLine totals unavailable