open-policy-agent / opa-idea-plugin

Open Policy Agent plugin for IntelliJ
MIT License
56 stars 23 forks source link

Comparison after `with` not recognized #150

Open anderseknert opened 1 year ago

anderseknert commented 1 year ago

Actual Behavior

Screenshot 2023-04-12 at 21 41 03

Expected Behavior

Comparison after with should be valid.

How To Reproduce

package t

allow := input.yes == true

test_me {
    allow with input.yes as true == true
}