We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
override
Hello, there is probably a way to deal with this already, but searching through existing issues didn't turn anything up.
With the memberNames.config.naming = camelCase, fsharplint suggests:
memberNames.config.naming = camelCase
Consider changing `ToString` to camelCase. Error on line 39 starting at column 23 override z.ToString() =
which cannot be done because this method comes from System.Object and override z.toString() is a compilation error FS0855.
System.Object
override z.toString()
FS0855
ToString()
I would expect that the linter understands that inherited members that are overridden cannot have their name changed.
The linter suggests that I change the name of the method in such a way that the project will not compile due to a missing member.
I will currently use rule suppression on every line where I override a member that doesn't match my project's naming conventions.
0.24.2+143ae50e0e32d0842fa36c1bc22c735f2c72f114
8.0.302
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Hello, there is probably a way to deal with this already, but searching through existing issues didn't turn anything up.
With the
memberNames.config.naming = camelCase
, fsharplint suggests:which cannot be done because this method comes from
System.Object
andoverride z.toString()
is a compilation errorFS0855
.Repro steps
ToString()
Expected behavior
I would expect that the linter understands that inherited members that are overridden cannot have their name changed.
Actual behavior
The linter suggests that I change the name of the method in such a way that the project will not compile due to a missing member.
Known workarounds
I will currently use rule suppression on every line where I override a member that doesn't match my project's naming conventions.
Related information
0.24.2+143ae50e0e32d0842fa36c1bc22c735f2c72f114
8.0.302
The text was updated successfully, but these errors were encountered: