bad error messaging when using the deprecated PACKAGE_NAME
or REPOSITORY_NAME
#7331
Labels
bad error messaging
Issues where users get stuck because they don't understand what they did wrong
P1
I'll work on this now. (Assignee required)
Description of the problem / feature request:
Instead of a nice deprecation warning / error, I got this ambiguous error:
builtin variable 'REPOSITORY_NAME' is referenced before assignment.
.Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Use
REPOSITORY_NAME
orPACKAGE_NAME
. With master too.What operating system are you running Bazel on?
Linux
What's the output of
bazel info release
?release 0.22.0- (@non-git)
If
bazel info release
returns "development version" or "(@non-git)", tell us how you built Bazel.Official archlinux release
Have you found anything relevant by searching the web?
This deprecation thread
The text was updated successfully, but these errors were encountered: