Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repository functions dump a stack trace when an attribute is a select() #1307

Closed
kchodorow opened this issue May 24, 2016 · 0 comments
Closed
Assignees
Labels
P2 We'll consider working on this in future. (Assignee optional) type: bug
Milestone

Comments

@kchodorow
Copy link
Contributor

See https://groups.google.com/d/msg/bazel-discuss/diTkWQjCikA/YUPQsJXPCAAJ. Per our pretty error messages, this could be much better!

Say, something like:

build_file = select(
             ^^^^^^
select() cannot be used with build_file, see http://bazel.io/docs/skylark/repository_rules.html for documentation on how to configure repository rules.
@kchodorow kchodorow added type: bug P2 We'll consider working on this in future. (Assignee optional) category: External repositories labels May 24, 2016
@kchodorow kchodorow self-assigned this May 24, 2016
@kchodorow kchodorow added this to the 0.4 milestone Jun 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 We'll consider working on this in future. (Assignee optional) type: bug
Projects
None yet
Development

No branches or pull requests

1 participant