You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updates `_aspect_impl()` in `test/aspect/aspect.bzl` to return a new
`VisitedInfo` provider instead of a `struct`. This fixes
`//test/aspect:aspect_test` when building with the `last_green` bazel:
- bazel-a91a6a77171c008598bdee53d144792c95211890-darwin-arm64
```txt
$ USE_BAZEL_VERSION=last_green \
bazel test --test_output=errors //test/aspect:aspect_test
ERROR: testing/toolchain/BUILD:10:27:
in //test/aspect:aspect.bzl%test_aspect aspect
on testing_toolchain_deps rule //testing/toolchain:junit_classpath:
Returning a struct from an aspect implementation function is deprecated.
ERROR: Analysis of target '//testing/toolchain:junit_classpath' failed
ERROR: Analysis of target '//test/aspect:aspect_test' failed; build aborted: Analysis failed
```
This `last_green` Bazel build contains the following commit, summarized
as "Remove support for returning struct providers from aspects":
- bazelbuild/bazel@07cddaf
That commit is related to:
- bazelbuild/bazel#25836
- bazelbuild/bazel#25819
- bazelbuild/intellij#7606
0 commit comments