Skip to content

Commit

Permalink
Add test for constructing in a Texp_hole
Browse files Browse the repository at this point in the history
  • Loading branch information
liam923 committed Jan 16, 2025
1 parent 04d0658 commit 7c738d2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/test-dirs/construct/c-simple.t
Original file line number Diff line number Diff line change
Expand Up @@ -586,3 +586,14 @@ Test M.3 : Predef types
[
"(lazy _)"
]

Test M.4 : that construct will work on holes in an overwrite expression

$ cat > M4.ml <<EOF
> let _ = overwrite_ (1, 2) with (_, 3)
> EOF

TODO: fix this
$ $MERLIN single construct -position 1:32 \
> -filename M4.ml < M4.ml | jq .value
"Construct only works on holes."

0 comments on commit 7c738d2

Please sign in to comment.