https://kotlinlang.org logo
#announcements
Title
# announcements
r

redrield

06/05/2017, 2:39 AM
like
operator fun shl(other: Foo): Foo { }
could work on
val foo = Foo(); foo << Foo()
v

voddan

06/05/2017, 3:16 AM
redrield: The reason is that bitwise operators are hardly ever used in modern application development. So instead of complicating the compiler quite a bit, Kotlin delegates the functionality to the library