Skip to content

Remove unneccessary _FileManagerImpl.delegate #801

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

Merged

Conversation

jmschonfeld
Copy link
Contributor

A file manager's delegate is stored as a property of the FileManager itself, rather than as a property of the underlying _FileManagerImpl type. However, when creating this type I accidentally left a stray delegate property here that was unused. To Avoid confusion, remove the extra, unused property and the function that referenced it so that it's clear that only FileManager.delegate is used.

@jmschonfeld
Copy link
Contributor Author

@swift-ci please test

@jmschonfeld jmschonfeld merged commit 3f646c2 into swiftlang:main Aug 1, 2024
3 checks passed
@jmschonfeld jmschonfeld deleted the remove-duplicate-fm-delegate branch August 1, 2024 00:01
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