Toplevel with -short-paths doesn't select shortest type paths #6763
Original bug ID: 6763
$ ocaml -short-paths
module Hex :
but when using ocamlc:
$ ocamlfind ocamlc -package hex -i test_sp.ml
$ ocamlfind ocamlc -short-paths -package hex -i test_sp.ml
Steps to reproduce
Install 4.02.1 and use -short-paths with the toplevel.
utop 1.17 (latest) has -short-paths on by default.
Comment author: @garrigue
Note that if you are talking about the fact string is turned into bytes (which is certainly not longer), this just follows the specification of short-paths: choose the equivalent path with the smallest number of dots, and the most recent one if the length is identical. Since in the unsafe environment bytes is defined as if it were