mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-13 03:42:35 -06:00
6b4dbb3c66
The REPL's internal state was getting corrupted if an invalid unknown term was given. For example `unknown x-1` would result in the unknown set being allocated but it would contain an illegal nil element. This fix just updates the REPL to avoid corrupting the internal state if any of the unknown arguments are invalid. Fixes #1670 Signed-off-by: Torin Sandall <torinsandall@gmail.com>