Skip to content

breaking change in yojson causing build to fail #131

@joprice

Description

@joprice

Version 2.0.0 of yojson removed biniou, which causes the compiler error below. There is a lower bound on yojson in the opam files, but no upper bound. Pinning yojson locally to 1.7.0 allows the build to work for me.

File "src/endpoints_j.ml", line 40, characters 11-13:
  40 |   write__2 ob x;
Error: This expression has type Bi_outbuf.t
       but an expression was expected of type Buffer.t

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions