We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This Swift
private lazy var name: String = {() -> String in return "abc" }()
is translated to the following Kotlin
private lazy var name: String = { -> return "abc" }()
I think it should result in the following Kotlin.
private val name: String by lazy { "abc" }
The var, val issue is tricky. The return issue is tricky.
var
val
return
The text was updated successfully, but these errors were encountered:
#47 Added lazy properties
972daf0
Partially fixed with 972daf0. However, the return statement is a different issue, related to how lambdas are translated (see #69)
Sorry, something went wrong.
No branches or pull requests
This Swift
is translated to the following Kotlin
I think it should result in the following Kotlin.
The
var
,val
issue is tricky. Thereturn
issue is tricky.The text was updated successfully, but these errors were encountered: