Skip to content

Commit 5f1cf9a

Browse files
committed
formatting
1 parent 35fd62d commit 5f1cf9a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/sail_lean_backend/pretty_print_lean.ml

+2-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ let rec doc_typ ctx (Typ_aux (t, _) as typ) =
151151
->
152152
parens (string "BitVec " ^^ doc_nexp ctx m)
153153
| Typ_app (Id_aux (Id "atom", _), [A_aux (A_nexp x, _)]) -> if provably_nneg ctx x then string "Nat" else string "Int"
154-
| Typ_app (Id_aux (Id "register", _), t_app) -> string "RegisterRef RegisterType " ^^ separate_map comma (doc_typ_app ctx) t_app
154+
| Typ_app (Id_aux (Id "register", _), t_app) ->
155+
string "RegisterRef RegisterType " ^^ separate_map comma (doc_typ_app ctx) t_app
155156
| Typ_app (Id_aux (Id "implicit", _), [A_aux (A_nexp (Nexp_aux (Nexp_var ki, _)), _)]) ->
156157
underscore (* TODO check if the type of implicit arguments can really be always inferred *)
157158
| Typ_tuple ts -> parens (separate_map (space ^^ string "×" ^^ space) (doc_typ ctx) ts)

0 commit comments

Comments
 (0)