diff options
author | 2016-10-25 14:51:55 +0000 | |
---|---|---|
committer | 2016-10-25 20:19:07 +0000 | |
commit | d1f4a167f8080d460dd532eb83b87ab0d0eb4f86 (patch) | |
tree | 38c10b81b925807207ae2311c99b4ae241394a0e /src/tools | |
parent | b96a0952c9a05d3a0b56b54eb0b841c455929261 (diff) |
Add a new concept of failure causes
Not all possible reasons for failure are uniquely identified
by a label. Therefore, add a new data type describing possible
root causes of failures and use it.
The new type is added in causes/*.java and coresponds to Haskell's
one-line definition
data Cause = LabelCause Label | ActionCause Path Label deriving Show
With future clean up of other failure causes inadequately described
by a label, we expect that type to be extended by new constructors
(i.e., new classes implementing Cause).
--
Change-Id: I6fec74c78cec6abb9c10e32743b05a792888fead
Reviewed-on: https://bazel-review.googlesource.com/#/c/6617
MOS_MIGRATED_REVID=137156390
Diffstat (limited to 'src/tools')
0 files changed, 0 insertions, 0 deletions