Skip to content

Commit

Permalink
Construct fresh model values
Browse files Browse the repository at this point in the history
  • Loading branch information
thpani committed Aug 16, 2023
1 parent b374361 commit 75d6108
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ class SymbStateDecoder(solverContext: SolverContext, rewriter: SymbStateRewriter
case None =>
// not found, just use the name
// a value that was assigned by the solver, and not created by us
tla.str(cell.toString)
tt match {
case CellTFrom(StrT1) => tla.str(s"FRESH${cell.id}")
case CellTFrom(ttConst @ ConstT1(_)) => tla.const(s"FRESH${cell.id}", ttConst)
}
}
}

Expand Down

0 comments on commit 75d6108

Please sign in to comment.