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

Duplicate parameter name #11417

Open
ncannasse opened this issue Nov 28, 2023 · 2 comments
Open

Duplicate parameter name #11417

ncannasse opened this issue Nov 28, 2023 · 2 comments

Comments

@ncannasse
Copy link
Member

You can currently do the following without an error.

function foo( i : Int, i : Int) {
}

I guess this should be restricted with an error ?

@ncannasse
Copy link
Member Author

(ignoring _ only maybe)

@Simn
Copy link
Member

Simn commented Nov 28, 2023

See #4381, but yes, 8 years later I agree that this shouldn't be valid.

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

2 participants