Skip to content

Commit

Permalink
Check the tree-like invariant in PLE.
Browse files Browse the repository at this point in the history
  • Loading branch information
facundominguez committed Oct 23, 2021
1 parent 8b1b48b commit a0f2dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Language/Fixpoint/Solver/PLE.hs
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ updCtxRes res iMb ctx = (ctx, res')


updRes :: InstRes -> Maybe BindId -> Expr -> InstRes
updRes res (Just i) e = M.insert i e res
updRes res (Just i) e = M.insertWith (error "tree-like invariant broken in ple. See https://github.com/ucsd-progsys/liquid-fixpoint/issues/496") i e res
updRes res Nothing _ = res

----------------------------------------------------------------------------------------------
Expand Down

0 comments on commit a0f2dc9

Please sign in to comment.