Skip to content

OCaml 5.2 support #3

@kit-ty-kate

Description

@kit-ty-kate

The current version of stdlib-random fails on OCaml 5.2 with:

#=== ERROR while compiling stdlib-random.1.1.0 ================================#
# context              2.2.0~beta2~dev | linux/x86_64 | ocaml-variants.5.2.0+trunk | file:///home/opam/opam-repository
# path                 ~/.opam/5.2/.opam-switch/build/stdlib-random.1.1.0
# command              ~/.opam/5.2/bin/dune build -p stdlib-random -j 1 @install @runtest
# exit-code            1
# env-file             ~/.opam/log/stdlib-random-156-7f0e4a.env
# output-file          ~/.opam/log/stdlib-random-156-7f0e4a.out
### output ###
# (cd _build/default && /home/opam/.opam/5.2/bin/ocamlc.opt -w -40 -g -bin-annot -I tests/.consistency.eobjs/byte -I random3/.random3.objs/byte -I random4/.random4.objs/byte -I random5/.random5.objs/byte -I random5o/.random5o.objs/byte -no-alias-deps -o tests/.consistency.eobjs/byte/dune__exe__Consistency.cmo -c -impl tests/consistency.pp.ml)
# File "tests/consistency.ml", lines 29-31, characters 53-3:
# Error: Signature mismatch:
#        ...
#        ...
#        The second module type is not included in the first
#        ...
#        At position "module type t = <here>"
#        The value "int_in_range" is required but not provided
#        File "random.mli", line 80, characters 0-44: Expected declaration
#        The value "int32_in_range" is required but not provided
#        File "random.mli", line 102, characters 0-52: Expected declaration
#        The value "nativeint_in_range" is required but not provided
#        File "random.mli", line 119, characters 0-68: Expected declaration
#        The value "int64_in_range" is required but not provided
#        File "random.mli", line 136, characters 0-52: Expected declaration

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