Skip to content

Commit

Permalink
make "shared_env" appear in JSON output by default
Browse files Browse the repository at this point in the history
adds 'Simplified' tag so that it is included in the
standard JSON output
  • Loading branch information
danmatichuk committed Oct 14, 2024
1 parent 6d0d70d commit 0f21361
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Pate/Monad.hs
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ instance ValidSymArch sym arch => IsTraceNode '(sym,arch) "shared_env" where
, ("JSON", \top_lbl env@(SharedExprEnv sym _) ->
let v = IO.unsafePerformIO $ jsonNode @_ @'(sym,arch) @"shared_env" sym top_lbl env
in PP.pretty $ JSON.encodeToLazyText v)
, (Simplified, \top_lbl _ -> PP.pretty top_lbl)
]


Expand Down

0 comments on commit 0f21361

Please sign in to comment.