The automatic Java-to-Kotlin converter added a few bugs in my app
The worst was that it converted (Something) thing to (thing as Something) rather than (thing as Something?)
(Something) thing
(thing as Something)
(thing as Something?)
I think as was a mistake in Kotlin. It should be called as!! or as Something!!.
as
as!!
as Something!!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The automatic Java-to-Kotlin converter added a few bugs in my app
The worst was that it converted
(Something) thing
to(thing as Something)
rather than(thing as Something?)
I think
as
was a mistake in Kotlin. It should be calledas!!
oras Something!!
.