Skip to content

Conversation

@pelekon
Copy link
Contributor

@pelekon pelekon commented Oct 19, 2025

I discovered that Swift2JavaTranslator does not detect the use of Data or DataProtocol when importing FoundationEssentials. I believe that on platforms other than Darwin, the use of such imports is common in order to reduce the size of the binary file due to ICU data, so I decided to fix this.

Copy link
Collaborator

@ktoso ktoso left a comment

Choose a reason for hiding this comment

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

Looks good, thanks a lot for adding that support!

@pelekon
Copy link
Contributor Author

pelekon commented Oct 23, 2025

Tests fixed

@ktoso ktoso merged commit cfbcf6c into swiftlang:main Oct 24, 2025
77 of 78 checks passed
@ktoso
Copy link
Collaborator

ktoso commented Oct 24, 2025

Very nice, thank you!

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