reasonml / ReasonNativeProject

Reason native compilation starter project
MIT License
203 stars 45 forks source link

Add another module #31

Open mrkaspa opened 7 years ago

mrkaspa commented 7 years ago

I created another module with this

module Demo = {
  let demo () => print_string "eooo";
};

And I tried to use it screen shot 2017-06-02 at 9 26 29 am

But the linter says that merlin can't find it, is there something wrong with .merlin file

PKG topkg reason # the OPAM packages B ./_build/src # built artifacts location S ./src # source location

btw the file is inside /src

hcarty commented 7 years ago

Try building the project first (if you haven't solved this already!). merlin requires some build artifacts to do lookups in/validation against modules outside of the current file.