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
Hello!
Is it possible to provide some extension operator functions for standard types? Something like operator fun Int.plus(x: Uint): Int.
operator fun Int.plus(x: Uint): Int
Now I have to write i + u.toInt() instead of i + u.
i + u.toInt()
i + u
The text was updated successfully, but these errors were encountered:
Hi,
sure, anyway, most ones are already there (like here)
You just have to write the import manually... Idea is a little weak here
import
Sorry, something went wrong.
Thank you for the link and for the hint!
Kotlin code cleanup
482485f
No branches or pull requests
Hello!
Is it possible to provide some extension operator functions for standard types?
Something like
operator fun Int.plus(x: Uint): Int
.Now I have to write
i + u.toInt()
instead ofi + u
.The text was updated successfully, but these errors were encountered: