We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8483ac7 commit a6eea4bCopy full SHA for a6eea4b
src/lake/Lake/Build/Job.lean
@@ -265,7 +265,7 @@ results of `a` and `b`. The job `c` errors if either `a` or `b` error.
265
/-- Merges this job with another, discarding its output and trace. -/
266
def add (self : Job α) (other : Job β) : Job α :=
267
self.zipResultWith (other := other) fun
268
- | .ok a sa, .ok _ sb => .ok a (sa.merge sb)
+ | .ok a sa, .ok _ sb => .ok a {sa.merge sb with trace := sa.trace}
269
| ra, rb => .error 0 {ra.state.merge rb.state with trace := ra.state.trace}
270
271
/-- Merges this job with another, discarding both outputs. -/
0 commit comments