Skip to content

Commit

Permalink
refine versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
crusso committed Jan 8, 2025
1 parent f65d3f0 commit 9f4ab92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mo_types/type.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1900,6 +1900,8 @@ and match_stab_fields tfs1 tfs2 =

let string_of_stab_sig stab_sig : string =
let module Pretty = MakePretty(ParseableStamps) in
"// Version: 2.0\n" ^
(match stab_sig with
| Single _ -> "// Version: 1.0.0\n"
| PrePost _-> "// Version: 2.0.0\n") ^
Format.asprintf "@[<v 0>%a@]@\n" (fun ppf -> Pretty.pp_stab_sig ppf) stab_sig

0 comments on commit 9f4ab92

Please sign in to comment.