Skip to content

Missing dependency for alias to sub-path #48

@art-w

Description

@art-w

I believe codept's -no-alias-deps is slightly too generous for module aliases on sub-paths:

module Lib_x = Lib.X

This doesn't report a dependency on Lib, but I believe the compiler requires it? (to check that X exists in Lib, where lib.ml is e.g. module X = struct end)

Another example in codept itself:

module Pth = Paths.S

"deps.ml", (["Name"; "Namespaced"; "Option"; "Pkg"; "Pp"; "Schematic"],["List"],[]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions