Fix comparison of booleans. (#2468)
This commit is contained in:
@@ -44,7 +44,7 @@ public class Boolean private constructor(
|
||||
@TypedIntrinsic(IntrinsicType.XOR)
|
||||
external public infix fun xor(other: Boolean): Boolean
|
||||
|
||||
@TypedIntrinsic(IntrinsicType.SIGNED_COMPARE_TO)
|
||||
@TypedIntrinsic(IntrinsicType.UNSIGNED_COMPARE_TO)
|
||||
external public override fun compareTo(other: Boolean): Int
|
||||
|
||||
public fun equals(other: Boolean): Boolean = kotlin.native.internal.areEqualByValue(this, other)
|
||||
|
||||
Reference in New Issue
Block a user