-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[BUG] Warning when using args
as the name of a function argument
#631
Labels
bug
Something isn't working
Comments
Therefore, Line 110 in 82817af
|
I don't know if #630 will fix it |
Also:
Wow, that's a convoluted way of running an Amber fragment. Wouldn't it be simpler to use |
I'm not yet familiar with the new sub commands enough 😅 |
(*edited) |
Looks like we just need to mangle the variable name
|
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Describe the bug
If you use
args
as the name of an argument, a warning would be printed when running the bash script.To Reproduce
Expected behavior
No warning printed. Like when you use
args1
as the name, then:Additional context
echo 'fun fun1(args: [Text]): Null {echo "Hello"} main(args) {fun1(args)}' | amber-master build -
:It seems
args
is declared twice.The text was updated successfully, but these errors were encountered: