Summary: Looks like the remaining issues were solved. In particular, build the toplevel with the same ppx as infer so that the ppx information makes it to .merlin. Reviewed By: mbouaziz Differential Revision: D7381857 fbshipit-source-id: 5847d56master
parent
6f187a954c
commit
a21644685f
@ -1,12 +0,0 @@
|
||||
B ../_build/default/atd/.InferGenerated.objs
|
||||
FLG -open InferGenerated -g -short-paths -safe-string -principal -strict-formats -strict-sequence -bin-annot -w +3+5+6+8+10+11+12+18+19+20+21+23+26+29+27+32+33+34+35+37+38+39+50+52+57-4-9-40-41-42-45-48 -w -27-32-34-35-39
|
||||
PKG atd
|
||||
PKG atdgen
|
||||
PKG biniou
|
||||
PKG core
|
||||
PKG easy-format
|
||||
PKG ppx_compare
|
||||
PKG str
|
||||
PKG unix
|
||||
PKG yojson
|
||||
S .
|
@ -1,15 +1,3 @@
|
||||
;; Do not let jbuilder generate .merlin files because it gets it
|
||||
;; wrong. This is mainly due to the fact that source files live in
|
||||
;; sub-directories and are copied into _build/ by our jbuild. jbuilder
|
||||
;; wants to write "S ." in .merlin but that makes merlin use the
|
||||
;; copied source files in _build/ instead of only using the original
|
||||
;; files.
|
||||
;;
|
||||
;; The generated .merlin also doesn't know about the ppx used. This is
|
||||
;; because some of our source files use some ppx and others do not, and
|
||||
;; since jbuilder is trying to find a configuration that works for all the
|
||||
;; files it only keeps the pxx common to all files.
|
||||
|
||||
(context ((switch @OPAMSWITCH@) (name default)))
|
||||
(context ((switch @OPAMSWITCH@) (name default) (merlin)))
|
||||
(context ((switch @OPAMSWITCH@) (name opt)))
|
||||
(context ((switch @OPAMSWITCH@) (name test)))
|
||||
|
@ -1,6 +0,0 @@
|
||||
B ../_build/default/scripts
|
||||
PKG core
|
||||
PKG str
|
||||
FLG -principal -safe-string -short-paths -strict-formats -strict-sequence
|
||||
FLG -w +a-4-9-40-41-42-44-45-48-60
|
||||
S .
|
Loading…
Reference in new issue