Skip to content

Commit

Permalink
fix melange runtime error by adding runtime dep to ppx
Browse files Browse the repository at this point in the history
  • Loading branch information
jchavarri committed Dec 1, 2024
1 parent c669c07 commit 01269a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion ppx/browser/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
(name ppx_deriving_json_js)
(modules :standard \ ppx_deriving_json_runtime ppx_deriving_json_js_test)
(libraries ppxlib)
(ppx_runtime_libraries melange-json.ppx-runtime)
(ppx_runtime_libraries melange-json melange-json.ppx-runtime)
(preprocess
(pps ppxlib.metaquot))
(kind ppx_deriver))
Expand Down
14 changes: 4 additions & 10 deletions ppx/test/poly.t
Original file line number Diff line number Diff line change
Expand Up @@ -303,11 +303,8 @@ We can extend aliased polyvariants:
["A"]
["C"]
=== stdout:js ===
File ".lib.objs/melange/_unknown_", line 1, characters 0-0:
melc: internal error, uncaught exception:
Not_found

[1]
["A"]
["C"]

We can extend poly variants which are placed behind signatures:
$ echo '
Expand Down Expand Up @@ -522,8 +519,5 @@ We can extend poly variants which are placed behind signatures:
["A"]
["C"]
=== stdout:js ===
File ".lib.objs/melange/_unknown_", line 1, characters 0-0:
melc: internal error, uncaught exception:
Not_found

[1]
["A"]
["C"]

0 comments on commit 01269a5

Please sign in to comment.