Skip to content

Commit 6094ff0

Browse files
committed
Kotlin: Add bitwise 'and' operation expected by Kotlin 2.3 compiler to exist in the stdlib
1 parent 81f8343 commit 6094ff0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java/ql/test-kotlin1/library-tests/ministdlib/MiniStdLib.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public class Int {
2626
operator fun plus(other: Int): Int { return this.plus(other) }
2727
operator fun times(other: Int): Int { return this.times(other) }
2828
infix fun xor(other: Int): Int { return this.xor(other) }
29+
infix fun and(other: Int): Int { return this.and(other) }
2930
}
3031

3132
public object Unit {

0 commit comments

Comments
 (0)