Support common calls on suspend function typed values
Also support multiple value parameters in suspend function type #KT-15379 Fixed #KT-15380 Fixed
This commit is contained in:
@@ -220,9 +220,6 @@ class TypeResolver(
|
||||
val receiverTypeRef = type.receiverTypeReference
|
||||
val receiverType = if (receiverTypeRef == null) null else resolveType(c.noBareTypes(), receiverTypeRef)
|
||||
|
||||
if (hasSuspendModifier && type.parameters.isNotEmpty()) {
|
||||
c.trace.report(UNSUPPORTED.on(type, "suspend function type with value parameters"))
|
||||
}
|
||||
val parameterDescriptors = resolveParametersOfFunctionType(type.parameters)
|
||||
|
||||
val returnTypeRef = type.returnTypeReference
|
||||
|
||||
Reference in New Issue
Block a user