FIR: Weaken some UPPER_BOUND_VIOLATED restrictions
See test data at starProjectionInsteadOutCaptured.kt ^KT-49412 Fixed ^KT-50230 Relates ^KT-48044 Fixed
This commit is contained in:
+18
@@ -140,3 +140,21 @@ FILE: upperBoundViolated.kt
|
||||
|
||||
}
|
||||
public final typealias Alias<V1> = R|(Class<V1>) -> kotlin/Boolean|
|
||||
public abstract class Base<T : R|Base<T>|> : R|kotlin/Any| {
|
||||
public constructor<T : R|Base<T>|>(): R|Base<T>| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
public final class DerivedOut<out O : R|Base<out O>|> : R|kotlin/Any| {
|
||||
public constructor<out O : R|Base<out O>|>(): R|DerivedOut<O>| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
public final class DerivedIn<in I : R|Base<in I>|> : R|kotlin/Any| {
|
||||
public constructor<in I : R|Base<in I>|>(): R|DerivedIn<I>| {
|
||||
super<R|kotlin/Any|>()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user