Skip to content

Commit

Permalink
Remove commented out method
Browse files Browse the repository at this point in the history
  • Loading branch information
Shon Feder committed Oct 5, 2022
1 parent a1181fa commit aaa793d
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,4 @@ object Counterexample {
// Defines an implicit converter for writing with upickle
implicit val upickleWriter: Writer[Counterexample] =
writer[ujson.Value].comap(ujsonView)

/** Produce a `Counterexample` from a `trace` (rather than from `states`) */
// def apply(module: TlaModule, path: List[(Map[String, TlaEx], Int)], invViolated: TlaEx): Counterexample = {
// // TODO(shonfeder): This conversion seems kind of senseless: we just swap the tuple and convert the transition index to
// // a string. Lots depends on this particular format, but it seems like a pretty pointless intermediary structure?
// val states = path.map(p => (p._2.toString, p._1))
// Counterexample(module, states, invViolated)
// }
}

0 comments on commit aaa793d

Please sign in to comment.