Fix compiler tests
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
class Data {
|
||||
@Deprecated("text")
|
||||
fun component1(): String = throw Exception()
|
||||
fun component2(): String = throw Exception()
|
||||
operator fun component1(): String = throw Exception()
|
||||
operator fun component2(): String = throw Exception()
|
||||
}
|
||||
|
||||
fun use() {
|
||||
|
||||
@@ -4,8 +4,8 @@ public fun use(): kotlin.Unit
|
||||
|
||||
public final class Data {
|
||||
public constructor Data()
|
||||
@kotlin.Deprecated(value = "text") public final fun component1(): kotlin.String
|
||||
public final fun component2(): kotlin.String
|
||||
@kotlin.Deprecated(value = "text") public final operator fun component1(): kotlin.String
|
||||
public final operator fun component2(): kotlin.String
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
@@ -13,7 +13,7 @@ fun Obsolete(param: Int = 1): UsefulClass = UsefulClass(param)
|
||||
|
||||
class Invocable {
|
||||
@Deprecated("message")
|
||||
fun invoke() {}
|
||||
operator fun invoke() {}
|
||||
}
|
||||
|
||||
object InvocableHolder {
|
||||
|
||||
@@ -29,7 +29,7 @@ public final class Invocable {
|
||||
public constructor Invocable()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
@kotlin.Deprecated(value = "message") public final fun invoke(): kotlin.Unit
|
||||
@kotlin.Deprecated(value = "message") public final operator fun invoke(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
class Iter {
|
||||
@Deprecated("text")
|
||||
fun iterator() : IterIterator = throw Exception()
|
||||
operator fun iterator() : IterIterator = throw Exception()
|
||||
|
||||
class IterIterator {
|
||||
fun hasNext(): Boolean = throw UnsupportedOperationException()
|
||||
fun next(): String = throw UnsupportedOperationException()
|
||||
operator fun hasNext(): Boolean = throw UnsupportedOperationException()
|
||||
operator fun next(): String = throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
|
||||
class Iter2 {
|
||||
fun iterator() : Iter2Iterator = throw Exception()
|
||||
operator fun iterator() : Iter2Iterator = throw Exception()
|
||||
class Iter2Iterator {
|
||||
@Deprecated("text")
|
||||
fun hasNext(): Boolean = throw UnsupportedOperationException()
|
||||
operator fun hasNext(): Boolean = throw UnsupportedOperationException()
|
||||
@Deprecated("text")
|
||||
fun next(): String = throw UnsupportedOperationException()
|
||||
operator fun next(): String = throw UnsupportedOperationException()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -6,15 +6,15 @@ public final class Iter {
|
||||
public constructor Iter()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
@kotlin.Deprecated(value = "text") public final fun iterator(): Iter.IterIterator
|
||||
@kotlin.Deprecated(value = "text") public final operator fun iterator(): Iter.IterIterator
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
public final class IterIterator {
|
||||
public constructor IterIterator()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public final fun hasNext(): kotlin.Boolean
|
||||
public final operator fun hasNext(): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public final fun next(): kotlin.String
|
||||
public final operator fun next(): kotlin.String
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
}
|
||||
@@ -23,15 +23,15 @@ public final class Iter2 {
|
||||
public constructor Iter2()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public final fun iterator(): Iter2.Iter2Iterator
|
||||
public final operator fun iterator(): Iter2.Iter2Iterator
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
public final class Iter2Iterator {
|
||||
public constructor Iter2Iterator()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
@kotlin.Deprecated(value = "text") public final fun hasNext(): kotlin.Boolean
|
||||
@kotlin.Deprecated(value = "text") public final operator fun hasNext(): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
@kotlin.Deprecated(value = "text") public final fun next(): kotlin.String
|
||||
@kotlin.Deprecated(value = "text") public final operator fun next(): kotlin.String
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user