# loadt "a.ml";;
File "/home/ubuntu/hol-light-aqjune/b.ml", line 1, characters 0-13:
1 | undefined_var := 3;; (* Raises a failure *)
^^^^^^^^^^^^^
Error: Unbound value undefined_var
Error in included file /home/ubuntu/hol-light-aqjune/b.ml
- : unit = ()
b.ml loaded
- : unit = ()
val it : unit = ()
However, if it is set to
# use_file_raise_failure := true;;
val it : unit = ()
# loadt "a.ml";;
File "/home/ubuntu/hol-light-aqjune/b.ml", line 1, characters 0-13:
1 | undefined_var := 3;; (* Raises a failure *)
^^^^^^^^^^^^^
Error: Unbound value undefined_var
Exception:
Failure "Error in included file /home/ubuntu/hol-light-aqjune/b.ml".
Exception:
Failure "Error in included file /home/ubuntu/hol-light-aqjune/a.ml".