Closed andrewosh closed 6 years ago
Turns out that #52 was being caused by _visitGet directly mutating this._heads instead of mutating a copy. There might be a better fix for this, but copying this._heads here does appear to resolve the issue.
_visitGet
this._heads
PR includes an additional test case.
Could you see if this is still relevant in master? We just merged a new major rewrite
(reopen if that is the case :))
Turns out that #52 was being caused by
_visitGet
directly mutatingthis._heads
instead of mutating a copy. There might be a better fix for this, but copyingthis._heads
here does appear to resolve the issue.PR includes an additional test case.