Skip to content

Commit

Permalink
Fix note in animation
Browse files Browse the repository at this point in the history
  • Loading branch information
ShinWonho committed Jul 26, 2024
1 parent a5c539f commit 5cd8e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spectec/src/il2al/animate.ml
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ let rec pre_process prem = match prem.it with
(* `C` |- `lhs` : `rhs` *)
| [[]; [turnstile]; [colon]; []], TupE [_; lhs; rhs]
when turnstile.it = Turnstile && colon.it = Colon ->
let typing_function_call = CallE (id, [ExpA lhs $ lhs.at]) $$ exp.at % exp.note in
let typing_function_call = CallE (id, [ExpA lhs $ lhs.at]) $$ exp.at % rhs.note in
[ { prem with it=IfPr (CmpE (EqOp, typing_function_call, rhs) $$ exp.at % exp.note) } ]
| _ -> [ prem ]
)
Expand Down

0 comments on commit 5cd8e88

Please sign in to comment.