Skip to content

Feature request: Expose source code location for Failure.Extern missing modules #34

Description

@jonahbeckford

In the following snippet:

let (map: ('a Solver.i * Solver.Failure.status option ref) Nms.map), _cmap =
    Solver.Failure.analyze block resolver pending

when the Solver.Failure.status matches | Solver.Failure.Extern (path: Namespaced.t)

there does not seem to be enough information to report the location (line number, column) of the missing Extern path.
(More accurately, the line/col for one of the missing module references).

At best the pseudocodelet {Solver.input; _} = (i: 'a Solver.i) can be used to find the filename with Pkg.filename input.src.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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