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
I have a repository rule with repository_ctx.which("") (the empty string comes from some computation, but its not relevant here).
The result is:
Caused by: net.starlark.java.eval.Starlark$UncheckedEvalException: java.lang.IllegalArgumentException: Child must not be empty string ('')
(and a bunch of stack trace)
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
See above.
What operating system are you running Bazel on?
Linux
What's the output of bazel info release?
2020/10/03 08:47:38 Using unreleased version at commit d69744dca68f8258762d53a01d8dca3afb7ed2ac
Starting local Bazel server and connecting to it...
development version
If bazel info release returns "development version" or "(@non-git)", tell us how you built Bazel.
I use Bazelisk and the last_green version.
The text was updated successfully, but these errors were encountered:
chandlerc
added a commit
to chandlerc/llvm-bazel
that referenced
this issue
Oct 3, 2020
I thought the `which` API would be well behaved here, but it produces
a hard error on a `None` argument. Using a default of `""` doesn't work
either because of bazelbuild/bazel#12216
I thought the `which` API would be well behaved here, but it produces
a hard error on a `None` argument. Using a default of `""` doesn't work
either because of bazelbuild/bazel#12216
Description of the problem / feature request:
I have a repository rule with
repository_ctx.which("")
(the empty string comes from some computation, but its not relevant here).The result is:
Caused by: net.starlark.java.eval.Starlark$UncheckedEvalException: java.lang.IllegalArgumentException: Child must not be empty string ('')
(and a bunch of stack trace)
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
See above.
What operating system are you running Bazel on?
Linux
What's the output of
bazel info release
?If
bazel info release
returns "development version" or "(@non-git)", tell us how you built Bazel.I use Bazelisk and the
last_green
version.The text was updated successfully, but these errors were encountered: