Skip to content

Commit

Permalink
Run statics on results again
Browse files Browse the repository at this point in the history
  • Loading branch information
Negabinary committed Aug 21, 2024
1 parent 2da492e commit 92b9c7b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/haz3lweb/app/editors/code/CodeSelectable.re
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ module Update = {
| Undo
| Redo
| DebugConsole(_) => None;

let calculate = CodeEditable.Update.calculate;
};

module Selection = {
Expand Down
4 changes: 4 additions & 0 deletions src/haz3lweb/app/editors/result/EvalResult.re
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ module Update = {
|> CodeSelectable.Model.mk_from_exp(
~settings=settings.core,
)
|> CodeSelectable.Update.calculate(
~is_edited=true, ~settings=settings.core, ~stitch=x =>
x
)
|> (x => (x, s)),
update,
),
Expand Down

0 comments on commit 92b9c7b

Please sign in to comment.