Skip to content
Success

Changes

Summary

  1. Use abstract environment to print recmod paths (#14036) (commit: 0c339e9) (details)
  2. Add error message for abstract types in recmod signatures (commit: d9792ac) (details)
Commit 0c339e9e29206d609f92e487396642705b54c8d9 by brandonzstride
Use abstract environment to print recmod paths (#14036)

The printing of type cycles with -short-paths previously did not
terminate because it used a typing environment with the physical
cycles. Now, an abstract typing environment is used to print the
types for error messages.
(commit: 0c339e9)
The file was modifiedtyping/typedecl.ml (diff)
The file was modifiedtestsuite/tests/typing-short-paths/errors.ml (diff)
The file was addedtestsuite/tests/typing-short-paths/cycles.ml
The file was modifiedtyping/typedecl.mli (diff)
The file was modifiedtyping/typemod.ml (diff)
Commit d9792ac58718ed92080dbf6c30291a2b6ff05238 by brandonzstride
Add error message for abstract types in recmod signatures

This commit adds the origin of abstract types when checking recursive
module signatures. When errors arise due to type checking only with an
abstract module signature, an error message explains why the type was
seen as abstract.
(commit: d9792ac)
The file was modifiedtyping/errortrace_report.ml (diff)
The file was modifiedtyping/typemod.ml (diff)
The file was modifiedtyping/types.ml (diff)
The file was modifiedtyping/types.mli (diff)
The file was modifiedtyping/out_type.ml (diff)
The file was modifiedChanges (diff)
The file was addedtestsuite/tests/typing-recmod/inconsistent_constraints.ml
The file was modifiedtyping/typedecl.mli (diff)
The file was modifiedtyping/typedecl.ml (diff)