Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Some errors are not correctly printed because input_name = "_none_" #5277
Original bug ID: 5277
In parsing/location.ml, the default value for input_name is "none", but a test in the same file assumes the default is "", and tries to open the file otherwise, which generates a failure in the case of "none" that prevents correct display of the message.
Steps to reproduce
ocamlc -pack -o x.cmo y.cmi