Skip to content

Commit

Permalink
Fix false positive for missing interpolator
Browse files Browse the repository at this point in the history
  • Loading branch information
satabin committed Sep 25, 2023
1 parent 92b0c76 commit 3d0ff43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion finite-state/shared/src/main/scala/fs2/data/esp/ESP.scala
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ object ESP {
qcases
.map { case Case(q, d, p, r) =>
val params = List.tabulate(esp.params.getOrElse(q.getOrElse(-1), 0))(i => show"y$i").mkString_(", ")
show"${q.fold("_")(q => show"q$q")}[${d.fold("$d")(_.show)}]($params) --[ ${p.fold("_")(_.show)} ]--> $r"
show"${q.fold("_")(q => show"q$q")}[${d.fold(raw"$d")(_.show)}]($params) --[ ${p.fold("_")(_.show)} ]--> $r"
}
.mkString_("\n")
}
Expand Down

0 comments on commit 3d0ff43

Please sign in to comment.