The bitwise `and` or `or` operators are in package...
# stdlib
c
The bitwise
and
or
or
operators are in package
kotlin.experimental
? 🤔 https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.experimental/and.html
t
Only for byte and short. I agree it's a little strange though.
a
Since Kotlin 1.1 IIRC too
j
This is back when things were going to live in this namespace and graduate out, and then they did that with coroutines and everyone realized how awful of an idea it was in practice.
c
I see. Indeed,
@OptIn
is a much better mechanism. I guess these were just forgotten?