If the last term has been read from a physical file (i.e., not from the
file user or a string), unify File with an
absolute path to the file and Line with the line number in
the file. New code should use prolog_load_context/2.
History
Fixed in 8.1.1 (👉5d16ea9) Pretend `begin_of_file` is expanded from line 0 instead of make source_location/2 fail.