-
Notifications
You must be signed in to change notification settings - Fork 230
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
Frédéric Bour
committed
Jul 15, 2019
1 parent
b094c93
commit ddf678d
Showing
3 changed files
with
23 additions
and
1 deletion.
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,8 @@ | ||
(alias | ||
(name runtest) | ||
(deps external-arity.t) | ||
(action | ||
(progn | ||
(setenv MERLIN %{dep:../merlin-wrapper} | ||
(run %{bin:mdx} test --syntax=cram %{deps})) | ||
(diff? %{deps} %{deps}.corrected)))) |
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,12 @@ | ||
Bucklescript allow externals to have a non-arrow type. We relax this | ||
restriction in Merlin too as it ease some peoples life and is not really | ||
problematic for normal OCaml users. | ||
|
||
$ $MERLIN single errors -filename external_arity.ml -w +A <<EOF \ | ||
> external foo : unit list = "foo" \ | ||
> EOF | ||
{ | ||
"class": "return", | ||
"value": [], | ||
"notifications": [] | ||
} |