From 59fa01e3861e7f0fc51dfce6dc627e80e748565f Mon Sep 17 00:00:00 2001 From: Anders Fugmann Date: Thu, 15 Jan 2026 09:20:41 -0800 Subject: [PATCH] Kotlin: Add bitwise 'and' operation expected by Kotlin 2.3 compiler to exist in the stdlib --- java/ql/test-kotlin1/library-tests/ministdlib/MiniStdLib.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/java/ql/test-kotlin1/library-tests/ministdlib/MiniStdLib.kt b/java/ql/test-kotlin1/library-tests/ministdlib/MiniStdLib.kt index ba48bc63234..1aaba910fa2 100644 --- a/java/ql/test-kotlin1/library-tests/ministdlib/MiniStdLib.kt +++ b/java/ql/test-kotlin1/library-tests/ministdlib/MiniStdLib.kt @@ -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 {