Skip to content

Commit

Permalink
Merge branch 'main' into protz_fix_inconsistency
Browse files Browse the repository at this point in the history
  • Loading branch information
msprotz authored Aug 29, 2024
2 parents 1b2b659 + 0a1b4e9 commit 1794a29
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 17 deletions.
30 changes: 15 additions & 15 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 21 additions & 2 deletions lib/Cleanup1.ml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,18 @@ let remove_assignments =
List.map
(fun atom ->
let name, typ = AtomMap.find atom not_yet_closed in
( { node = { atom; name; mut = true; mark = ref Krml.Mark.default; meta = None }; typ },
( {
node =
{
atom;
name;
mut = true;
mark = ref Krml.Mark.default;
meta = None;
attempt_inline = false;
};
typ;
},
if typ = TUnit then
Krml.Helpers.eunit
else
Expand Down Expand Up @@ -153,7 +164,15 @@ let remove_assignments =
let name, typ = AtomMap.find atom not_yet_closed in
let b =
{
node = { atom; name; mut = true; mark = ref Krml.Mark.default; meta = None };
node =
{
atom;
name;
mut = true;
mark = ref Krml.Mark.default;
meta = None;
attempt_inline = false;
};
typ;
}
in
Expand Down

0 comments on commit 1794a29

Please sign in to comment.