mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-13 03:42:35 -06:00
27fe5ceac8
Fixing an issue where the `future.keywords.not` import would erroneously
import other future keywords.
E.g. consider the following v0 module:
```rego
package example
import future.keywords.not
p if {
not input.x
}
```
The `future.keywords.not` import also imports the `if` keyword. This fix
makes the above module invalid.
Signed-off-by: Johan Fylling <johan.dev@fylling.se>