Skip to content

Unbound modules using corebuild #49

@riseremi

Description

@riseremi

Thank you for the plugin!

I'm using corebuild (comes with core package by Jane Street) to build my project. My project structure is:

hello.ml
io.ml

And my hello.ml is:

(* 'Unbound module Core' was fixed by PKG Core *)
open Core;;

(* Cannot fix 'Unbound module Io' here *)
print_endline (Io.get_file_content "input.txt")

Io is auto-imported by corebuild, I do not #use or open it. How can I tell linter that this module is actually exists?

I tried PKG Io and B ./ in my .merlin file, but it doesn't help.

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