Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
cmester0 committed Nov 28, 2024
1 parent 7b28517 commit a1d69f1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/extract_and_run_coq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: hax

- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main

- name: ⤵ Install hax
working-directory: hax
run: |
nix build .\#coq-coverage-example
Expand Down
11 changes: 6 additions & 5 deletions engine/backends/coq/coq/coq_backend.ml
Original file line number Diff line number Diff line change
Expand Up @@ -641,12 +641,13 @@ struct
^^ concat_map_with ~pre:space
(fun (x : generic_param) ->
match x with
| { ident; _ } ->
let idx = (self#_do_not_override_lazy_of_local_ident
AstPos_item'_Type_generics ident)
#p
| { ident; _ } ->
let idx =
(self#_do_not_override_lazy_of_local_ident
AstPos_item'_Type_generics ident)
#p
in
parens(idx ^^ space ^^ !^":=" ^^ space ^^ idx) )
parens (idx ^^ space ^^ !^":=" ^^ space ^^ idx))
generics#v.params)
^^ space ^^ string "<"
^^ separate_map (semi ^^ space)
Expand Down

0 comments on commit a1d69f1

Please sign in to comment.