Skip to content

[6.0] Remove _typeByName lookup of _FoundationNSNumberInitializer #824

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

Conversation

jmschonfeld
Copy link
Contributor

Explanation: Removes a _typeByName lookup in a FoundationEssentials up-call that can result in confusion between the toolchain and local builds
Scope: Should only impact up-calls from FileManager in FoundationEssentials to initialize NSNumbers
Original PR: #817
Risk: Minimal - the body of this function is already overridden by SCL-F, this just removes the _typeByName lookup for cases where Foundation isn't loaded (and therefore the lookup will only ever fail, or find the wrong Foundation)
Testing: Testing done via swift-ci testing
Reviewer: @itingliu

@jmschonfeld jmschonfeld requested a review from itingliu August 5, 2024 18:08
@jmschonfeld
Copy link
Contributor Author

@swift-ci please test

@jmschonfeld jmschonfeld merged commit 6a526e8 into swiftlang:release/6.0 Aug 6, 2024
3 checks passed
@jmschonfeld jmschonfeld deleted the 6.0/remove-type-by-name-nsnumber branch August 6, 2024 16:45
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