Skip to content

Commit

Permalink
Preserve previous names
Browse files Browse the repository at this point in the history
  • Loading branch information
msprotz committed Dec 7, 2023
1 parent d194803 commit c5d0b7d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions lib/Monomorphization.ml
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,8 @@ module Gen = struct
let doc =
let open PPrint in
let open PrintAst in
separate_map underscore print_typ ts ^^ underscore ^^
separate_map underscore print_expr cgs
separate_map underscore print_typ ts ^^
(if cgs = [] then empty else underscore ^^ separate_map underscore print_expr cgs)
in
fst lid, snd lid ^ KPrint.bsprintf "__%a" PrintCommon.pdoc doc

Expand Down
14 changes: 7 additions & 7 deletions test/.hints/Rust1.fst.hints

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

0 comments on commit c5d0b7d

Please sign in to comment.