Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
cmester0 committed Nov 25, 2024
1 parent 5832f3f commit 44e6295
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions engine/backends/coq/coq/coq_backend.ml
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,11 @@ struct
^^ space ^^ string "in" ^^ break 1 ^^ body#p

method expr'_Literal ~super x2 =
parens(x2#p ^^ space ^^ colon ^^ space ^^ (self#_do_not_override_lazy_of_ty AstPos_expr'_Literal_x0 super.typ)#p)
parens
(x2#p ^^ space ^^ colon ^^ space
^^ (self#_do_not_override_lazy_of_ty AstPos_expr'_Literal_x0 super.typ)
#p)

method expr'_LocalVar ~super:_ x2 = x2#p

method expr'_Loop ~super:_ ~body ~kind ~state ~control_flow ~label:_
Expand Down Expand Up @@ -782,8 +786,7 @@ struct
^^ string "%float"

method literal_Int ~value ~negative ~kind =
((if negative then !^"-" else empty)
^^ string value)
(if negative then !^"-" else empty) ^^ string value

method literal_String x1 = string "\"" ^^ string x1 ^^ string "\"%string"

Expand Down

0 comments on commit 44e6295

Please sign in to comment.