Skip to content

Commit

Permalink
Added rewriting set definition and definitional/abstract strictpure m…
Browse files Browse the repository at this point in the history
…ethod support.
  • Loading branch information
robby-phd committed Feb 7, 2024
1 parent 32b486d commit c256c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/src/main/scala/org/sireum/logika/Util.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2084,7 +2084,7 @@ object Util {
val invs: ISZ[Info.Inv] = if (method.isHelper) ISZ[Info.Inv]() else logika.retrieveInvs(res.owner, res.isInObject)
state = checkMethodPre(logika, smt2, cache, reporter, state, methodPosOpt, invs, requires)
val stmts = method.bodyOpt.get.stmts
val (l, ss): (Logika, ISZ[State]) = if (method.purity == AST.Purity.StrictPure) {
val (l, ss): (Logika, ISZ[State]) = if (method.isStrictPure) {
val stmt = stmts(0).asInstanceOf[AST.Stmt.Var]
val spBody = stmt.initOpt.get
val pos = spBody.asStmt.posOpt.get
Expand Down

0 comments on commit c256c29

Please sign in to comment.