[FIR] Fix CCE in deserialization of suspend function type with star projection continuation
#KT-64148 Fixed
This commit is contained in:
committed by
Space Team
parent
01976990e8
commit
6d1ca3d379
+1
-1
@@ -221,7 +221,7 @@ class FirTypeDeserializer(
|
||||
|
||||
val continuationType = arguments.getOrNull(arguments.lastIndex - 1) as? ConeClassLikeType ?: return null
|
||||
if (!continuationType.isContinuation()) return ConeClassLikeTypeImpl(functionTypeConstructor, arguments, isNullable, attributes)
|
||||
val suspendReturnType = continuationType.typeArguments.single() as ConeKotlinTypeProjection
|
||||
val suspendReturnType = continuationType.typeArguments.single()
|
||||
val valueParameters = arguments.dropLast(2)
|
||||
|
||||
val kind = FunctionTypeKind.SuspendFunction
|
||||
|
||||
Reference in New Issue
Block a user