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

Add an error message for declaring a variable multiple times in the function header #346

Open
Boulder08 opened this issue Mar 18, 2023 · 0 comments

Comments

@Boulder08
Copy link

I just spent some 15 minutes trying to find out why my function was not working properly, i.e. not respecting a change in value in the function call. I then found out the reason; I had declared the variable two times in the function header by mistake. I think we need an error message for this situation the same way you get an error message when calling the function with two identical variable names as parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant