Josh Berdine
Josh Berdine
An `executables` stanza can specify several `names` and several `public_names` but only one `package`. In case there are multiple executables which should appear in different packages, then multiple `install` stanzas...
When conf-llvm finds the llvm-config executable in PATH, currently the config var only records the basename of the executable. If the PATH later changes, dependent packages can fail to build,...
The module initialization code of base calls `Backtrace.initialize_module`, which (unless `OCAMLRUNPARAM` is set) calls `Printexc.record_backtrace true`. This is a significant performance foot-gun, and as far as I can see, not...
Without this docstrings with UTF8 withing `[]` have miscalculated lengths. This adds (some of?) the normalization needed for `[...]` docstring elements. Currently this change also incorrectly applies to preformatted code...
**Describe the bug** Formatting code such as: ```ocaml type sp = | Cut (** {[@,]} *) ``` adds spaces within the preformatted code element, producing ```ocaml type sp = |...
A desirable but not currently achieved form of stability is for `ocamlformat -m 80 -i file.ml` to be equivalent to `ocamlformat -m 999 -i file.ml; ocamlformat -m 80 -i file.ml`...
To summarize the variety of potential issues with comment placement, I wonder if it is feasible to aim to ensure that comments never move relative to tokens. If we could...
For cases where ocamlformat cannot reformat docstrings, the error message should be informative to and actionable by the user.
With the margin set to 20, we see the following output: ``` (* 00000011111111112 * 45678901234567890 *) (* 1. xxxx x xxxx *) (* 2. xxxx xx xxxx *) (*...
Currently building ocamlformat downloads and patches the standard library Format module. Once ocaml/ocaml#1229 is merged: - [ ] delete the download-and-patch build hackery - [ ] remove / rename `Format_`...