lang: Plumb through the unified state facility

This commit is contained in:
James Shubin
2024-07-01 14:47:04 -04:00
parent d326917432
commit 4e18c9c67a
6 changed files with 49 additions and 29 deletions

View File

@@ -861,10 +861,11 @@ func TestUnification1(t *testing.T) {
return
}
unifier := &unification.Unifier{
AST: xast,
Solver: solver,
Debug: debug,
Logf: logf,
AST: xast,
Solver: solver,
UnifiedState: types.NewUnifiedState(),
Debug: debug,
Logf: logf,
}
err = unifier.Unify(context.TODO())