Skip to content

Dead references after deep destructive substitutions #690

Closed
@Octachron

Description

@Octachron

When substituting a signature item inside a submodule

module type S = sig
  module M: sig
    type t
  end
  type t = M.t
end
module type T = S with type M.t := int

the reference to the submodule item M.t are not updated outside of the submodule, which creates a dead reference inside the module type u.

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