mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
Kotlin: Make MiniStdLib more closely match the real stdlib
This commit is contained in:
@@ -14,20 +14,20 @@ public open class Any {
|
||||
open operator fun equals(other: Any?): Boolean { return this.equals(other) }
|
||||
}
|
||||
|
||||
public open class String {
|
||||
public class String {
|
||||
operator fun plus(other: Any?): String { return this.plus(other) }
|
||||
}
|
||||
|
||||
public open class Boolean {
|
||||
public class Boolean {
|
||||
operator fun not(): Boolean { return this.not() }
|
||||
}
|
||||
|
||||
public open class Int {
|
||||
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) }
|
||||
}
|
||||
|
||||
public open class Unit {
|
||||
public object Unit {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user