Skip to content

Commit

Permalink
Change anySucc to succ
Browse files Browse the repository at this point in the history
  • Loading branch information
bobismijnnaam committed Jun 22, 2023
1 parent 1216231 commit 568a451
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .mill-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.11.0-M11
0.11.0
2 changes: 1 addition & 1 deletion src/rewrite/vct/rewrite/EncodeRangedFor.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ case class EncodeRangedFor[Pre <: Generation]() extends Rewriter[Pre] {
override def dispatch(stat: Statement[Pre]): Statement[Post] = stat match {
case rf @ RangedFor(iv @ IterVariable(iVar, from, to), contract, body) =>
implicit val o = iVar.o
val i = Local[Post](anySucc[Variable[Post]](iVar))(iVar.o)
val i: Local[Post] = Local(succ[Variable[Post]](iVar))(iVar.o)
Loop(
Block(Seq(
LocalDecl(variables.collect(dispatch(iVar))._1.head),
Expand Down

0 comments on commit 568a451

Please sign in to comment.