Test alias module for wrapped libraries: $ cat >dune-project < (lang dune 3.5) > EOF $ cat >dune < (library > (name foo)) > EOF $ touch foo.ml bar.ml $ dune build $ cat _build/default/foo__.ml-gen (* generated by dune *) (** @canonical Foo.Bar *) module Bar = Foo__Bar module Foo__ = struct end [@@deprecated "this module is shadowed"]