Sys_error when getting error location from parsing/location.ml #5238
Original bug ID: 5238
The default (i.e. empty) value for [Location.input_name] (in parsing) is "none". Several places assume it to be "" when it isn't set and will therefor try to load the file none.
$ echo "val run : unit -> unit" > test.mli
Fatal error: exception Sys_error("none: No such file or directory")
running this in ocamlopt yields: