Kotlin: Fix a variable shadowing warning

This commit is contained in:
Ian Lynagh
2022-01-19 15:28:28 +00:00
parent 72a6bfe7db
commit 2f8ede2ae5

View File

@@ -489,7 +489,7 @@ open class KotlinFileExtractor(
fun extractFunction(f: IrFunction, parentId: Label<out DbReftype>, extractBody: Boolean, typeSubstitution: TypeSubstitution?, classTypeArgsIncludingOuterClasses: List<IrTypeArgument>?): Label<out DbCallable> {
DeclarationStackAdjuster(f).use {
getFunctionTypeParameters(f).mapIndexed { idx, it -> extractTypeParameter(it, idx) }
getFunctionTypeParameters(f).mapIndexed { idx, tp -> extractTypeParameter(tp, idx) }
val locId = tw.getLocation(f)