https://kotlinlang.org logo
#ktor
Title
# ktor
c

csieflyman

05/06/2021, 4:48 PM
I upgrade kotlin from 1.4.32 to 1.5.0 and compile failed... Does anyone had the same problem? Executing pre-compile tasks... Running 'before' tasks Checking sources Searching for compilable files... Kotlin: connecting to daemon Kotlin: compiling [ktor-example.main] Kotlin: kotlinc-jvm 1.5.0-release-759 (JRE 11.0.9.1+1-LTS) Kotlin: [Internal Error] java.lang.IllegalArgumentException: ClassicTypeSystemContext couldn't handle: Captured(*), class org.jetbrains.kotlin.resolve.calls.inference.CapturedType at org.jetbrains.kotlin.types.checker.ClassicTypeSystemContext$DefaultImpls.typeConstructor(ClassicTypeSystemContext.kt:150) at org.jetbrains.kotlin.types.checker.ClassicTypeCheckerContext.typeConstructor(ClassicTypeCheckerContext.kt:26) at org.jetbrains.kotlin.types.AbstractTypeChecker.isTypeVariableAgainstStarProjectionForSelfType(AbstractTypeChecker.kt:351)
t

turansky

05/06/2021, 4:54 PM
c

csieflyman

05/06/2021, 5:16 PM
Thanks @turansky I received kotlin plugin upgrade notification today and click it... I uninstall plugin and problem has been solved
7 Views