The following commit breaks find witnesses: 0352e96...13e0c1d
This commit was added for the following reasons:
LocVar is a complex definition not just type LocVar = Var
RegVar needed to catch up so the definition changed from type RegVar = Var
The allFreeVariables gets us Var, Locs and RegVars since these were all vars it wasn't much of a problem.
Now I had to make a new type FreeVarsTy which is returned by allFreeVars
However, This breaks the functionality of Find Witnesses.
This means that somewhere in the pass it doesn not differentiate Locs, variables and regions which is a fundamental problem.
We should correct its functionality.
I ran the following compilation command in the examples directory:
gibbon --packed --no-gc --to-exe -v4 MonoTree.hs
Maybe freeVar should still return vars but
The following commit breaks find witnesses: 0352e96...13e0c1d
This commit was added for the following reasons:
LocVaris a complex definition not justtype LocVar = VarRegVarneeded to catch up so the definition changed fromtype RegVar = VarThe allFreeVariables gets us Var, Locs and RegVars since these were all vars it wasn't much of a problem.
Now I had to make a new type
FreeVarsTywhich is returned by allFreeVarsHowever, This breaks the functionality of Find Witnesses.
This means that somewhere in the pass it doesn not differentiate Locs, variables and regions which is a fundamental problem.
We should correct its functionality.
I ran the following compilation command in the examples directory:
gibbon --packed --no-gc --to-exe -v4 MonoTree.hsMaybe freeVar should still return vars but