Check for free variables in several SolverEngine calls (#8130)

Fixes the nightlies due to ensuring that a unit test fails in production (it was failing only in debug).

Fixes #8127.
This commit is contained in:
Andrew Reynolds
2022-02-24 12:28:58 -06:00
committed by GitHub
parent 1f06dc65f3
commit 4972960da7
12 changed files with 123 additions and 31 deletions

View File

@@ -21,7 +21,7 @@ public class HelloWorld
{
try (Solver slv = new Solver())
{
Term helloworld = slv.mkVar(slv.getBooleanSort(), "Hello World!");
Term helloworld = slv.mkConst(slv.getBooleanSort(), "Hello World!");
System.out.println(helloworld + " is " + slv.checkEntailed(helloworld));
}