Files
releases/v1
Johan Fylling 3b8e2d595b ast: Fix PE regression for future.keywords.not negation inside every (#8781)
Fixing regression where `future.keywords.not` negated expressions nested
inside an `every` body would fail to plug variables for partial
evaluation.

E.g.

```rego
package test
import future.keywords.not

p if {
	x = input.foo
	every y in [1, 2] {
		not f(x, y)
	}
}
```

would fail to plug `x`:

```rego
every __local0__1, __local1__1 in [1, 2] {
	not data.test.f(x, __local1__)
}
x1 = input.foo
```

instead of the expected:

```rego
every __local0__1, __local1__1 in [1, 2] {
	not data.test.f(input.foo, __local1__1)
}
x1 = input.foo
```

Signed-off-by: Johan Fylling <johan.dev@fylling.se>
2026-06-15 08:05:39 +02:00
..
2025-10-10 17:51:02 +02:00
2026-03-06 22:07:35 +00:00
2026-05-13 13:11:27 +02:00
2024-12-12 15:27:34 +01:00