Skip to content

Java2Swift: Use implicitly-unwrapped optionals for field types and method results #124

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

DougGregor
Copy link
Member

All Java references are nullable, so modeling them as optional in Swift is both correct and extremely annoying. Use implicitly-unwrapped optionals instead.

Fixes issue #122.

…thod results

All Java references are nullable, so modeling them as optional in Swift is
both correct and extremely annoying. Use implicitly-unwrapped optionals
instead.

Fixes issue swiftlang#122.
@DougGregor DougGregor merged commit 34a18e3 into swiftlang:main Oct 28, 2024
11 checks passed
@DougGregor DougGregor deleted the javakit-implicitly-unwrapped-optionals branch October 28, 2024 17:28
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.

1 participant