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

Rename functions and parameters dealing with AccessControlLevel #571

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

webwarrior-ws
Copy link
Contributor

Renamed some functions and/or parameters
related to AccessControlLevel to make their
intent more clear.

@@ -209,15 +209,15 @@ let getAccessibility (syntaxArray:AbstractSyntaxArray.Node []) i =
| ExceptionRepresentation(SynExceptionDefnRepr.SynExceptionDefnRepr(_, _, _, _, access, _))
| Pattern(SynPat.Named(_, _, _, access, _))
| Pattern(SynPat.LongIdent(_, _, _, _, access, _)) ->
getAccessibility (isSynAccessPublic access) isPrivateWhenReachedBinding node.ParentIndex
getAccessibility (resolveAccessControlLevel access) isPrivateWhenReachedBinding node.ParentIndex
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@webwarrior-ws does this build actually? or is there another function named getAccessibility that needs to be renamed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it builds. That's inner function and I decided not to rename it so that it's named differently from top-level function

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mmm

Renamed some functions and/or parameters
related to AccessControlLevel to make their
intent more clear.
@knocte knocte merged commit ee9f859 into fsprojects:master Nov 23, 2023
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

Successfully merging this pull request may close these issues.

2 participants