I have seen that it is not available compound assi...
# announcements
f
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
there is some existing discussion in https://youtrack.jetbrains.com/issue/KT-1440
👍 2