Skip to content

Commit 7c738d2

Browse files
committed
Add test for constructing in a Texp_hole
1 parent 04d0658 commit 7c738d2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/test-dirs/construct/c-simple.t

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,3 +586,14 @@ Test M.3 : Predef types
586586
[
587587
"(lazy _)"
588588
]
589+
590+
Test M.4 : that construct will work on holes in an overwrite expression
591+
592+
$ cat > M4.ml <<EOF
593+
> let _ = overwrite_ (1, 2) with (_, 3)
594+
> EOF
595+
596+
TODO: fix this
597+
$ $MERLIN single construct -position 1:32 \
598+
> -filename M4.ml < M4.ml | jq .value
599+
"Construct only works on holes."

0 commit comments

Comments
 (0)