Minor, add explicit type argument to workaround KT-42175

This commit is contained in:
Alexander Udalov
2020-09-24 19:38:26 +02:00
parent f30e564c90
commit 6d13fe8213
@@ -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()
}