-
Notifications
You must be signed in to change notification settings - Fork 54
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
Error message resolving passed arguments with the wrong name #83
Labels
bug
Something isn't working
Comments
lihaoyi-databricks
changed the title
Wrong error message calling function in other file
Wrong error message calling function in other file with wrong arguments
Jul 18, 2020
edsilfer
changed the title
Wrong error message calling function in other file with wrong arguments
Error message resolving passed arguments with the wrong name
Nov 9, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the issue?
When invoking a function imported from a different file with too many arguments, and at least one of the passed arguments is named, the error message is using the function name instead of the named argument to resolve the string template.
How to reproduce?
bar.jsonnet
with the following content:function(x) x
foo.jsonnet
with the following content:./mill "sjsonnet[2.13.3]".jvm.run foo.jsonnet
The text was updated successfully, but these errors were encountered: