Access the term line numbers from the compilation context whenever possible