read_cmt -annot does not report internal references #5814
Original bug ID: 5814
It seems that all int_ref entries are turned into ext_ref when an annot file is generated by "read_cmt -annot" instead of "ocamlc -annot". This is because the information is lost when environments are discarded. This is fixed by setting OCAML_BINANNOT_WITHENV=1.
The text was updated successfully, but these errors were encountered: