Join Slack
Powered by
I have seen that it is not available compound assi...
# announcements
f
frank
02/24/2021, 6:14 PM
I have seen that it is not available compound assignment for bitwise operators in Kotlin.
Do you know if it could be implemented in the future or why it might not be possible?
Sample:
Copy code
//Java n >>= 1; //Kotlin n = n shr 1 // E.g. n shr= 1
☝️ 1
😢 1
e
ephemient
02/24/2021, 6:50 PM
there is some existing discussion in
https://youtrack.jetbrains.com/issue/KT-1440
👍 2
9
Views
Open in Slack
Previous
Next