File tree 6 files changed +21
-0
lines changed
test/blackbox-tests/test-cases/github4682.t
6 files changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ (executable
2
+ (name main)
3
+ (root_module root)
4
+ (libraries unix)
5
+ (preprocess (pps ppx)))
Original file line number Diff line number Diff line change
1
+ module X = Root. Unix
Original file line number Diff line number Diff line change
1
+ (library
2
+ (name ppx)
3
+ (kind ppx_rewriter)
4
+ (libraries lib)
5
+ (ppx.driver (main Ppx.main)))
Original file line number Diff line number Diff line change
1
+ let main () = ()
Original file line number Diff line number Diff line change
1
+ val main : unit -> unit
Original file line number Diff line number Diff line change
1
+ Attempting to use `(root_module ... )` with an executable that uses PPX results
2
+ in an unexpected build failure:
3
+
4
+ $ dune build
5
+ Error: Multiple rules generated for _build/ default / root. pp. ml-gen:
6
+ - dune: 5
7
+ - <none >: 1
8
+ [1 ]
You can’t perform that action at this time.
0 commit comments