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
Please register or sign in to comment