Commit 6b30d43f authored by Matthew Fernandez's avatar Matthew Fernandez
Browse files

fix: uniformly construct rule name strings

This fixes an issue where using an invariant name containing printf format codes
would result in the generation of code that had a bad error() call. Rather than
fixing this in isolation, we refactor the code that generates strings
representing rule names to go through a single function. This means we not only
fix the issue but now uniformly number rules starting from index 1.

Github: related to #119 "using printf format codes in invariant names causes bad
printf usage"
parent d3517bbf
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment