lang: Plumb data and unification strategy through the lang struct
This adds some plumbing to pass values into the lang struct.
This commit is contained in:
@@ -75,6 +75,8 @@ type SimpleInvariantSolver struct {
|
||||
|
||||
// Init contains some handles that are used to initialize the solver.
|
||||
func (obj *SimpleInvariantSolver) Init(init *unification.Init) error {
|
||||
obj.Strategy = init.Strategy
|
||||
|
||||
obj.Debug = init.Debug
|
||||
obj.Logf = init.Logf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user