Fix project K2-bootstrapping when KT-57609 breaking change is introduced

This commit is contained in:
Denis.Zharkov
2023-03-27 14:04:07 +02:00
committed by Space Team
parent 55a58e54fe
commit 1071669a92
2 changed files with 2 additions and 2 deletions
@@ -13,7 +13,7 @@ import org.jetbrains.kotlin.utils.addIfNotNull
import kotlin.properties.ReadOnlyProperty
import kotlin.reflect.KClass
abstract class ConeAttribute<T : ConeAttribute<T>> : AnnotationMarker {
abstract class ConeAttribute<out T : ConeAttribute<T>> : AnnotationMarker {
abstract fun union(other: @UnsafeVariance T?): T?
abstract fun intersect(other: @UnsafeVariance T?): T?
@@ -14,7 +14,7 @@ import java.util.concurrent.ConcurrentHashMap
import kotlin.properties.ReadOnlyProperty
import kotlin.reflect.KClass
abstract class TypeAttribute<T : TypeAttribute<T>> : AnnotationMarker {
abstract class TypeAttribute<out T : TypeAttribute<T>> : AnnotationMarker {
abstract fun union(other: @UnsafeVariance T?): T?
abstract fun intersect(other: @UnsafeVariance T?): T?