Files
releases/v1/format
Johan Fylling 27fe5ceac8 ast: Fix leaky future.keywords.not import in Rego v0 (#8953)
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>
2026-07-29 19:06:54 +02:00
..