Sure. Hereās the bsb generated .merlin
:
FLG -ppx /Users/jon/src/github.com/jpincas/test-bsb/node_modules/bs-platform/lib/bsppx.exe
S /Users/jon/src/github.com/jpincas/test-bsb/node_modules/bs-platform/lib/ocaml
B /Users/jon/src/github.com/jpincas/test-bsb/node_modules/bs-platform/lib/ocaml
FLG -w -30-40+6+7+27+32..39+44+45+101
S src
B lib/bs/src
S src/bc
B lib/bs/src/bc
####BSB GENERATED: NO EDIT}
Just to clarify - I have two separate issues:
- Adding
time_stamp: Js.Date.t
to my record just kills (at least editor display of) type inference - although the project compiles fine.
- Once the
.merlin
file is generated, I no longer get any editor āhelpā, either as I type or on save.
Unfortunately there are other issues too. I know I can just replace āmerlinā with ābsbā in the āreason.diagnostics.toolsā config option, but that only works on save, and the āas-you-typeā help is so nice when it works! Plus, for some reason, the ābsbā option only compiles one of my files, and offers no messages as to why the others havenāt been compiled. Just to add that when running npm run build
, the whole thing compiles without issue and all the .bs.js files appear, but on the next save, all but one of those files just dissapear!