Fix deprecated ranges and range member usages in tests.

This commit is contained in:
Ilya Gorbunov
2015-10-19 16:43:14 +03:00
parent 5ebb3d20e8
commit 5f675c55ed
6 changed files with 10 additions and 10 deletions
@@ -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()
}
@@ -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()