Closed mprobst closed 3 years ago
I'm confused, where do you see list data
?
It's in the error message, in the list of function parameters.
Ah, I see. I think the line shows your call (and not the definition of the method).
Well, that's quite confusing :-)
@c-parsons Now that we don't have method overloading anymore, it should be easier to get the method signature and show it there.
Error is currently:
Error in run: run() got unexpected keyword argument 'data'
Description of the problem / feature request:
Calling
ctx.actions.run(data = [...])
give this error message:See how it suggests
run
has an argumentlist data
. That's super confusing.https://docs.bazel.build/versions/master/skylark/lib/actions.html#run
Feature requests: what underlying problem are you trying to solve with this feature?
Docs/confusing error message.
What's the output of
bazel info release
?