We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Printing ir.PatternString type inside a slice is redundant.
ir.PatternString
SyntaxPatterns: []ir.PatternString{ ir.PatternString{Line: 11, Value: "fmt.Sprint($x)"}, ir.PatternString{Line: 11, Value: "fmt.Sprintf(\"%s\", $x)"}, ir.PatternString{Line: 11, Value: "fmt.Sprintf(\"%v\", $x)"}, },
Same for ir.RuleGroup{ and ir.Rule{. There is no need to specify a type.
ir.RuleGroup{
ir.Rule{
DocTags should be printed on a single line.
The text was updated successfully, but these errors were encountered:
ruleguard/irprint: make printed IR ~15% more compact
d4e99aa
This is important for big rule sets that can produce large Go files. Fixes #326
ruleguard/irprint: make printed IR ~15% more compact (#351)
cc33ba4
Successfully merging a pull request may close this issue.
Printing
ir.PatternString
type inside a slice is redundant.Same for
ir.RuleGroup{
andir.Rule{
. There is no need to specify a type.DocTags should be printed on a single line.
The text was updated successfully, but these errors were encountered: