Skip to content

Commit

Permalink
Hotfix Al printer for InvCallE
Browse files Browse the repository at this point in the history
  • Loading branch information
jaehyun1ee committed Jul 19, 2024
1 parent 6deaf57 commit d606b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spectec/src/al/print.ml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ and string_of_expr expr =
| CallE (id, el) -> sprintf "$%s(%s)" id (string_of_exprs ", " el)
| InvCallE (id, nl, el) ->
let id' =
if List.length nl = 0 then id
if List.for_all Option.is_some nl then id
else
nl
|> List.filter_map (fun x -> x)
Expand Down

0 comments on commit d606b95

Please sign in to comment.