Open ashi009 opened 3 weeks ago
0.38.0
N/A
7.1.0
Yes
When implementing Merger, there is no way to return merge errors.
However, the mergeAttrValues function supports error handling.
mergeAttrValues
https://github.com/bazelbuild/bazel-gazelle/blob/571d953b2bb9534c145242ead08eb35b3b096a5e/rule/merge.go#L100
It would be nice to return an error along the merged expr.
What version of gazelle are you using?
0.38.0
What version of rules_go are you using?
N/A
What version of Bazel are you using?
7.1.0
Does this issue reproduce with the latest releases of all the above?
Yes
What operating system and processor architecture are you using?
N/A
What did you do?
When implementing Merger, there is no way to return merge errors.
However, the
mergeAttrValues
function supports error handling.https://github.com/bazelbuild/bazel-gazelle/blob/571d953b2bb9534c145242ead08eb35b3b096a5e/rule/merge.go#L100
It would be nice to return an error along the merged expr.
What did you expect to see?
What did you see instead?