-
Notifications
You must be signed in to change notification settings - Fork 832
Compiler error when declaring multiple parameters with the same name in abstract methods #13964
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
Compiler error when declaring multiple parameters with the same name in abstract methods #13964
Conversation
|
@vzarytovskii I think this is ready :) . Let me know if you are happy with the error message . |
…eters-with-the-same-name-in-abstract-methods
dsyme
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some minor de-functionalization requested please
…eters-with-the-same-name-in-abstract-methods
...ormance/DeclarationElements/MemberDefinitions/MethodsAndProperties/E_Abstract_ReusedParam.fs
Show resolved
Hide resolved
dsyme
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signature files noted
…eters-with-the-same-name-in-abstract-methods
…the-same-name-in-abstract-methods' of https://github.com/edgarfgp/fsharp into compiler-error-when-declaring-multiple-parameters-with-the-same-name-in-abstract-methods
dsyme
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great but please factor out the common code. I'd like us to start being more rigorous about avoiding code duplication like this in the compiler, when it's easy to do so.
…eters-with-the-same-name-in-abstract-methods
Thanks . I will be more rigorous in my next contributions . I appreciate the patience you have :) |
…eters-with-the-same-name-in-abstract-methods # Conflicts: # src/Compiler/FSComp.txt
…eters-with-the-same-name-in-abstract-methods
…eters-with-the-same-name-in-abstract-methods
…eters-with-the-same-name-in-abstract-methods
…eters-with-the-same-name-in-abstract-methods
…eters-with-the-same-name-in-abstract-methods
…eters-with-the-same-name-in-abstract-methods
|
Closing this PR :). As I had a CI error with the generated FSComp.txt strings :( . I will create a new PR in a bit |
Fixes #13148
Update: I have decided to not fix #13981 as per of this PR as this issue seems t be more complex than what I thought at the beginning