Not sure if this is the right place to ask, but fa...
# compiler
r
Not sure if this is the right place to ask, but facing a compiler issue updating from 2.0.10 to 2.0.20/2.0.21, I will raise a ticket but where does the compiler log to when using Gradle? I couldn't get more relevant information with just the Gradle
--debug
flag
Copy code
class PriceKey {
    data class Leg<out S : Settlement, out T : ClientDealtDirection>(
        override val settlement: S,
        override val amount: BigDecimal,
        override val direction: T,
    ) : IPriceKeyLeg<S, T>
}
Copy code
interface IPriceKeyLeg<out S : Settlement, out T : ClientDealtDirection> : INettableLeg<T> {
    val settlement: S

    override val direction: T
}
Copy code
interface INettableLeg<out T : ClientDealtDirection> : Serializable {
    val amount: BigDecimal
    val direction: T
}
Copy code
e: java.lang.IllegalStateException: Cannot replace top-level type with star projection: S of com.caplin.one.common.data.price.PriceKey.Leg
	at org.jetbrains.kotlin.ir.types.BaseIrTypeSubstitutor.substitute(IrTypeSubstitutor.kt:34)
	at org.jetbrains.kotlin.fir.backend.Fir2IrDelegatedMembersGenerationStrategy.generateDelegatedFunctionBody(Fir2IrFakeOverrideStrategy.kt:353)
d
Could you please check if the issue is still reproducible with
2.1.0-Beta1
? If yes, please report an issue with a reproducer
r
Sure
d
Thank you!