Piotr Krzemiński
06/10/2026, 6:35 AMerror: while analysing .github/workflows/end-to-end-tests.main.kts:37:5: org.jetbrains.kotlin.utils.exceptions.KotlinIllegalArgumentExceptionWithAttachments: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImpl (end-to-end-tests.main.kts): org.jetbrains.kotlin.util.FileAnalysisException: While analysing .github/workflows/end-to-end-tests.main.kts:37:5: org.jetbrains.kotlin.utils.exceptions.KotlinIllegalArgumentExceptionWithAttachments: Expected FirResolvedTypeRef with ConeKotlinType but was FirUserTypeRefImpl
it's because of a bug in Kotlin 2.4.0. More info: https://github.com/typesafegithub/github-workflows-kt/issues/2348Piotr Krzemiński
06/10/2026, 6:42 AM@file:DependsOn("fwilhe2:setup-kotlin:v1")
...
workflow(
...
consistencyCheckJobConfig = DEFAULT_CONSISTENCY_CHECK_JOB_CONFIG.copy(
additionalSteps = {
uses(
name = "Downgrade Kotlin",
action = SetupKotlin(
version = "2.3.21",
),
),
},
),
) { ... }Piotr Krzemiński
06/11/2026, 8:51 PMVampire
07/14/2026, 1:31 PM