From 663ad5868ac34600abc31e872ccb60510f9e4826 Mon Sep 17 00:00:00 2001 From: Vasily Levchenko Date: Wed, 1 Mar 2017 11:32:15 +0300 Subject: [PATCH] ranges: pasto misleating 'external' modifier in Long.rangeTo(Byte) --- runtime/src/main/kotlin/kotlin/Primitives.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */