-
-
Save ozanmakes/bbce07095b9273c1e78f616f31dda100 to your computer and use it in GitHub Desktop.
Dune+Reason+bisect_ppx bug repro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(library | |
(name dune_reason_bisect) | |
(inline_tests) | |
(preprocess (pps ppx_expect bisect_ppx))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(lang dune 1.4) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
opam-version: "2.0" | |
name: "dune_reason_bisect" | |
version: "0.0.1" | |
maintainer: "Ozan Sener <[email protected]>" | |
authors: [ | |
"Ozan Sener <[email protected]>" | |
] | |
build: [ | |
["dune" "build" "-p" name "-j" jobs] | |
] | |
depends: [ | |
"bisect_ppx" | |
"dune" {build & >= "1.4"} | |
"ppx_expect" | |
"reason" | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let hello = () => "Hello world"; | |
let%expect_test _ = { | |
hello() |> print_endline; | |
%expect | |
{| Hello world |} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment