aboutsummaryrefslogtreecommitdiffstats
path: root/bug/bug.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/bug.go')
-rw-r--r--bug/bug.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/bug/bug.go b/bug/bug.go
index 7f068c05..398bdb9f 100644
--- a/bug/bug.go
+++ b/bug/bug.go
@@ -376,7 +376,9 @@ func (bug *Bug) Compile() Snapshot {
it := NewOperationIterator(bug)
for it.Next() {
- snap = it.Value().Apply(snap)
+ op := it.Value()
+ snap = op.Apply(snap)
+ snap.Operations = append(snap.Operations, op)
}
return snap