Annotate with @UnsafeVariance relevant types in built-ins

This commit is contained in:
Denis Zharkov
2016-05-16 17:24:20 +03:00
parent 279ff0b561
commit 46ac26147b
9 changed files with 144 additions and 16 deletions
@@ -28,7 +28,7 @@ public interface Collection</*0*/ out E> : kotlin.collections.Iterable<E> {
public abstract fun containsAll(/*0*/ elements: kotlin.collections.Collection<@kotlin.UnsafeVariance() E>): kotlin.Boolean
public abstract fun isEmpty(): kotlin.Boolean
public abstract override /*1*/ fun iterator(): kotlin.collections.Iterator<E>
@kotlin.Deprecated(level = DeprecationLevel.WARNING, message = "This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version", replaceWith = kotlin.ReplaceWith(expression = "", imports = {})) public abstract fun nonExistingMethod(/*0*/ p0: E!): kotlin.String!
@kotlin.Deprecated(level = DeprecationLevel.WARNING, message = "This member is not fully supported by Kotlin compiler, so it may be absent or have different signature in next major version", replaceWith = kotlin.ReplaceWith(expression = "", imports = {})) public abstract fun nonExistingMethod(/*0*/ p0: @kotlin.UnsafeVariance() E!): kotlin.String!
}
public abstract class DoubleIterator : kotlin.collections.Iterator<kotlin.Double> {