diff --git a/runtime/src/main/kotlin/kotlin/Primitives.kt b/runtime/src/main/kotlin/kotlin/Primitives.kt index 1467ccb46ec..417da260a97 100644 --- a/runtime/src/main/kotlin/kotlin/Primitives.kt +++ b/runtime/src/main/kotlin/kotlin/Primitives.kt @@ -886,7 +886,7 @@ public final class Long : Number(), Comparable { external public operator fun unaryMinus(): Long /** Creates a range from this value to the specified [other] value. */ - external public operator fun rangeTo(other: Byte): LongRange { + public operator fun rangeTo(other: Byte): LongRange { return LongRange(this, other.toLong()) } /** Creates a range from this value to the specified [other] value. */