Copy refs and comment on Value
This commit is contained in:
parent
cedaa9cdfa
commit
2bec255b52
2 changed files with 12 additions and 3 deletions
|
|
@ -95,6 +95,12 @@ func (it *Materialize) TagResults(dst map[string]graph.Value) {
|
|||
func (it *Materialize) Clone() graph.Iterator {
|
||||
out := NewMaterialize(it.subIt.Clone())
|
||||
out.tags.CopyFrom(it)
|
||||
if it.hasRun {
|
||||
out.hasRun = true
|
||||
out.aborted = it.aborted
|
||||
out.values = it.values
|
||||
out.containsMap = it.containsMap
|
||||
}
|
||||
return out
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue