Skip to content

Commit

Permalink
Merge pull request #3455 from mtzguido/extractionfix
Browse files Browse the repository at this point in the history
Extraction.Krml: properly detect mem type, it does not have an argument
  • Loading branch information
mtzguido authored Sep 10, 2024
2 parents c7a1cf5 + d1d8633 commit ef93b7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ocaml/fstar-lib/generated/FStar_Extraction_Krml.ml

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

2 changes: 1 addition & 1 deletion src/extraction/FStar.Extraction.Krml.fst
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ let rec translate_type_without_decay' env t: typ =
TInt (must (mk_width m))
| MLTY_Named ([], ([ "FStar"; m ], "t'")) when is_machine_int m ->
TInt (must (mk_width m))
| MLTY_Named ([arg], p) when (Syntax.string_of_mlpath p = "FStar.Monotonic.HyperStack.mem") ->
| MLTY_Named ([], p) when (Syntax.string_of_mlpath p = "FStar.Monotonic.HyperStack.mem") ->
TUnit

| MLTY_Named ([_; arg; _], p) when
Expand Down

0 comments on commit ef93b7d

Please sign in to comment.