package ocaml-base-compiler
Official release 5.2.1
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-5.2.1.tar.gz
sha256=2d0f8090951a97a2c0e5b8a11e90096c0e1791d2e471e4a67f87e3b974044cd0
doc/compiler-libs.common/Printtyp/Conflicts/index.html
Module Printtyp.Conflicts
The Conflicts
module keeps track of conflicts arising when attributing names to identifiers and provides functions that can print explanations for these conflict in error messages
exists()
returns true if the current naming context renamed an identifier to avoid a name collision
type explanation = {
kind : Shape.Sig_component_kind.t;
name : string;
root_name : string;
location : Location.t;
}
val list_explanations : unit -> explanation list
list_explanations()
return the list of conflict explanations collected up to this point, and reset the list of collected explanations
val print_located_explanations : Format.formatter -> explanation list -> unit
val print_explanations : Format.formatter -> unit
Print all conflict explanations collected up to this point
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>