swiftlang / swift-java

Apache License 2.0
724 stars 27 forks source link

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

Closed DougGregor closed 3 weeks ago

DougGregor commented 3 weeks ago

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.