Stop given a depset as the first unnamed argument to the depset() con…#480
Stop given a depset as the first unnamed argument to the depset() con…#480Yexo wants to merge 1 commit intobazelbuild:masterfrom Yexo:master
Conversation
…structor. This is in preparation for flipping the Bazel flag --incompatible_disable_depset_items to true, making it an error to use the "items" parameter. See bazelbuild/bazel#9017 for details.
|
Requiring a sequence instead of also accepting a depset for Looking at https://buildkite.com/bazel/bazelisk-plus-incompatible-flags/builds/457, it seems like |
It's only a change to _closure_js_library_impl, which is internal to this .bzl file and only used twice:
I guess this is not strictly necesary. A recent warning I added to buildifier (bazelbuild/buildtools@6827138) flagged this file as a violation (incorrectly, due to using mixed types) and while evaluating whether the warning was correct or not I figured I could simplify the code a bit. |
|
There hasn't been any activity in this PR for very long time. |
…structor.
This is in preparation for flipping the Bazel flag --incompatible_disable_depset_items to true, making it an error to use the "items" parameter. See bazelbuild/bazel#9017 for details.