Kotlin: Add bitwise 'and' operation expected by Kotlin 2.3 compiler to exist in the stdlib

This commit is contained in:
Anders Fugmann
2026-01-15 09:20:41 -08:00
parent a6f8af0de5
commit 59fa01e386

View File

@@ -26,6 +26,7 @@ public class Int {
operator fun plus(other: Int): Int { return this.plus(other) }
operator fun times(other: Int): Int { return this.times(other) }
infix fun xor(other: Int): Int { return this.xor(other) }
infix fun and(other: Int): Int { return this.and(other) }
}
public object Unit {