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)