You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the (wrapped false) setting in pgx/src/dune is causing me some problem when using Pgx in a local project.
Some environment information:
esy-0.6.4
dune-2.5.1
ocaml-4.09.1
Error message:
$ esy dune build @all
Entering directory '/home/richard/code/project'
File "_none_", line 1:
Error: Files /home/richard/.esy/3__________________________________________________________________/i/ocaml-4.9.1000-ffe51dac/lib/ocaml/compiler-libs/ocamlcommon.cmxa
and /home/richard/.esy/3__________________________________________________________________/i/opam__s__pgx-opam__c__1.0-1d851550/lib/pgx/pgx.cmxa
both define a module named Types
It looks like some internal library in the compiler defines and exports a Types module, and so does Pgx. When I checked the Dune documentation, I saw that (wrapped false) is discouraged, but if you do want to use it, they recommend prefixing all the modules in your library manually.
The text was updated successfully, but these errors were encountered:
This makes us only expose the Pgx module at top-level.
Most of this stuff was never intended to be used directly, so the only
major change is that Pgx_value now _must_ be referenced as Pgx.Value.
Fixes#101
This makes us only expose the Pgx module at top-level.
Most of this stuff was never intended to be used directly, so the only
major change is that Pgx_value now _must_ be referenced as Pgx.Value.
Fixes#101
This makes us only expose the Pgx module at top-level.
Most of this stuff was never intended to be used directly, so the only
major change is that Pgx_value now _must_ be referenced as Pgx.Value.
Fixes#101
It looks like the
(wrapped false)
setting inpgx/src/dune
is causing me some problem when using Pgx in a local project.Some environment information:
esy-0.6.4
dune-2.5.1
ocaml-4.09.1
Error message:
Diagnosis:
It looks like some internal library in the compiler defines and exports a Types module, and so does Pgx. When I checked the Dune documentation, I saw that
(wrapped false)
is discouraged, but if you do want to use it, they recommend prefixing all the modules in your library manually.The text was updated successfully, but these errors were encountered: