Fix deprecated ranges and range member usages in tests.
This commit is contained in:
+1
-1
@@ -9,6 +9,6 @@ fun test(a1: A, a2: A) {
|
||||
}
|
||||
|
||||
|
||||
public operator fun <T: Comparable<T>> T.rangeTo(<!UNUSED_PARAMETER!>that<!>: T): Range<T> {
|
||||
public operator fun <T: Comparable<T>> T.rangeTo(<!UNUSED_PARAMETER!>that<!>: T): ClosedRange<T> {
|
||||
throw UnsupportedOperationException()
|
||||
}
|
||||
+1
-1
@@ -2,7 +2,7 @@ package
|
||||
|
||||
package a {
|
||||
public fun test(/*0*/ a1: a.A, /*1*/ a2: a.A): kotlin.Unit
|
||||
public operator fun </*0*/ T : kotlin.Comparable<T>> T.rangeTo(/*0*/ that: T): kotlin.Range<T>
|
||||
public operator fun </*0*/ T : kotlin.Comparable<T>> T.rangeTo(/*0*/ that: T): kotlin.ClosedRange<T>
|
||||
|
||||
public final class A {
|
||||
public constructor A()
|
||||
|
||||
Reference in New Issue
Block a user