Skip to content

Commit

Permalink
added backticks to cycle detection, which makes the error clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mie6 committed Apr 18, 2024
1 parent b0540f5 commit 713ab7f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ private [parsley] final class DivergenceContext {
else ""

val msg =
s"\n$loopName is looping unproductively as $bodyName can succeed having not consumed input$stateNote$refineMsg"
s"\n`$loopName` is looping unproductively as `$bodyName` can succeed having not consumed input$stateNote$refineMsg"
throw new ParsleyException(msg)
}
}

0 comments on commit 713ab7f

Please sign in to comment.