Skip to content

Notty is incompatible with OCaml 4.06 #17

@gasche

Description

@gasche

There was a breaking change to the Format library in 4.06

* GPR#615: Format, add symbolic formatters that output symbolic
  pretty-printing items. New fields have been added to the
  formatter_out_functions record, thus this change will break any code building
  such record from scratch.
  (Richard Bonichon and Pierre Weis, review by Alain Frisch)

notty appears to be affected, according to the logs of my opam-builder instance:

/home/barsac/scherer/opam-builder/4.06.0+beta2+default-unsafe-string/.opam/4.06.0+beta2+default-unsafe-string/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -w A-4-33-40-41-42-43-34-44-48 -package uutf -package uuseg -package uucp -package result -I src -o src/notty.cmo src/notty.ml
File "src/notty.ml", line 508, characters 41-99:
Error: Some record fields are undefined: out_indent

Would you consider making a release that is compatible with 4.06? (If you have pending features, it would probably make sense to make first a release with the new features compatible with older OCaml versions, and then a minor release that adds nothing but the 4.06 support, so that users of either versions can benefit from the other new notty features.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions