Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
javra committed Dec 6, 2023
1 parent e64a67a commit a1f5eb1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Aegis/Analyzer.lean
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def buildFuncSignatures
for (name, sig) in funcdefs do
match FuncData.libfuncs currentFunc typedefs specs metadataRef sig with
| some sig => acc := acc.insert name sig
| none => dbg_trace s!"{toString name} : no such libfunc"
| none => dbg_trace s!"{toString name}: no libfunc {sig}"
return acc

structure State where
Expand Down Expand Up @@ -114,7 +114,6 @@ partial def processState
throwError "Incorrect number of branches to {st.libfunc_id}"
unless fd.inputTypes.length = st.args.length do
throwError "Incorrect number of arguments to {st.libfunc_id}"
let mut st' := st
let mut bes : List AndOrTree := []
for (branchIdx, bi) in st.branches.enum do
let bd := fd.branches.get! branchIdx
Expand Down

0 comments on commit a1f5eb1

Please sign in to comment.