Report line numbers in type errors