regal icon indicating copy to clipboard operation
regal copied to clipboard

Rule: constant conditions

Open anderseknert opened this issue 1 year ago • 1 comments

allow {
    1 == 1
    true
    false
}

And so on...

Note that we can't do much about a single true in an otherwise empty body, as:

allow := true

will be rewritten as:

allow = true {
    true
}

So we can accept that as an exception for now.

anderseknert avatar Apr 11 '23 07:04 anderseknert