-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
37 additions
and
6 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
$ cat >dune-project <<'EOF' | ||
> (lang dune 3.0) | ||
> EOF | ||
|
||
$ cat >dune <<'EOF' | ||
> (executable (name foo)) | ||
> (executable (name foobar) (libraries yojson)) | ||
> EOF | ||
|
||
$ touch foo.ml | ||
|
||
$ cat >foobar.ml <<'EOF' | ||
> let eq = Yojson.equal | ||
> let () = Printf.printf "%b" @@ eq `Null `Null | ||
> EOF | ||
|
||
$ $DUNE build | ||
$ $DUNE exec ./foobar.exe | ||
true | ||
|
||
FIXME: there appear to be an issue with configuration here | ||
$ $MERLIN single locate -position 1:10 \ | ||
> -filename foobar.ml <foobar.ml | ||
{ | ||
"class": "return", | ||
"value": "Not in environment 'Yojson'", | ||
"notifications": [] | ||
} |