SIGN IN SIGN UP

add compiler.Compiler and compiler.optimizer WithEnablePrintStatements option and pass through to ast.Compiler

When using the compiler.Compiler; rego "print" statements get removed and there is no way on the API to enable them.
So the PrintHook is broken.

Signed-off-by: Kevin St. Pierre <kevin@styra.com>
K
Kevin St. Pierre committed
646c8418ae5b274e6161a89c0bebb7a6bc02ed35
Parent: 9f9fbb9
Committed by Torin Sandall <torinsandall@gmail.com> on 7/22/2022, 8:22:14 PM