Skip to content

Commit

Permalink
Rebase to Sail 0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
ThinkOpenly committed Sep 16, 2024
1 parent 173749d commit dd893a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sail_json_backend.opam
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.17"
version: "0.18"
synopsis: "Sail to JSON formatting"
maintainer: ["Sail Devs <[email protected]>"]
authors: [
Expand Down
3 changes: 2 additions & 1 deletion src/sail_json_backend/sail_plugin_json.ml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,11 @@
(****************************************************************************)

open Libsail
open Interactive.State

let json_options = []

let json_target _ _ out_file ast effect_info env = Json.defs (Type_check.strip_ast ast)
let json_target out_file { ast; _ } = Json.defs (Type_check.strip_ast ast)

let _ =
Target.register ~name:"json" ~options:json_options
Expand Down

0 comments on commit dd893a6

Please sign in to comment.