Minor, add explicit type argument to workaround KT-42175
This commit is contained in:
@@ -56,7 +56,9 @@ object AbstractTypeMapper {
|
||||
if (type.isSuspendFunction()) {
|
||||
val argumentsCount = type.argumentsCount()
|
||||
val argumentsList = type.asArgumentList()
|
||||
val arguments = buildList {
|
||||
|
||||
@Suppress("RemoveExplicitTypeArguments") // Workaround for KT-42175
|
||||
val arguments = buildList<KotlinTypeMarker> {
|
||||
for (i in 0 until (argumentsCount - 1)) {
|
||||
this += argumentsList[i].adjustedType()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user