Skip to content

opam deps are not precise enough #103

@zapashcanon

Description

@zapashcanon

On my switch:

$ opam install opam install --deps-only ./wasm_of_ocaml-compiler.opam
$ dune build -p wasm_of_ocaml-compiler @install
[...]
File "compiler/lib/wasm/wa_source_map.ml", line 132, characters 41-65:
132 |   `Assoc ((m, v) :: List.remove_assoc m (Yojson.Raw.Util.to_assoc assoc))
                                               ^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module Yojson.Raw.Util

File "compiler/lib/wasm/wa_source_map.ml", line 132, characters 41-65:
132 |   `Assoc ((m, v) :: List.remove_assoc m (Yojson.Raw.Util.to_assoc assoc))
                                               ^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound module Yojson.Raw.Util

107 |   let l = Structure.blocks_in_reverse_post_order g in
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound value Structure.blocks_in_reverse_post_order

File "compiler/lib/wasm/wa_globalize.ml", line 107, characters 10-48:
107 |   let l = Structure.blocks_in_reverse_post_order g in
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound value Structure.blocks_in_reverse_post_order

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions