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
Testcases:
let Foo () = () let Bar () = ()
=> No errors
let private Foo () = () let Bar () = ()
let private Foo () = () let Bar () = Foo() ()
=> Error! (because Foo can be transformed from private to nested)
let Bar () = let Foo() = () Foo() ()
=> no error (because Foo is nested)
let private Foo () = () let Bar () = Foo() () let Baz () = Foo () ()
=> no error (because Foo is called by 2 functions: Bar and Baz; therefore, it cannot become nested)
The text was updated successfully, but these errors were encountered:
FavourNestedFunctions: implement rule
62375ea
Implemented FavourNestedFunctions rule. Added rule text message to Text.resx. Fixes fsprojects#638
Successfully merging a pull request may close this issue.
Testcases:
=> No errors
=> No errors
=> Error! (because Foo can be transformed from private to nested)
=> no error (because Foo is nested)
=> no error (because Foo is called by 2 functions: Bar and Baz; therefore, it cannot become nested)
The text was updated successfully, but these errors were encountered: