Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2f8ede2

Browse files
committed
Kotlin: Fix a variable shadowing warning
1 parent 72a6bfe commit 2f8ede2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java/kotlin-extractor/src/main/kotlin/KotlinFileExtractor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ open class KotlinFileExtractor(
489489
fun extractFunction(f: IrFunction, parentId: Label<out DbReftype>, extractBody: Boolean, typeSubstitution: TypeSubstitution?, classTypeArgsIncludingOuterClasses: List<IrTypeArgument>?): Label<out DbCallable> {
490490
DeclarationStackAdjuster(f).use {
491491

492-
getFunctionTypeParameters(f).mapIndexed { idx, it -> extractTypeParameter(it, idx) }
492+
getFunctionTypeParameters(f).mapIndexed { idx, tp -> extractTypeParameter(tp, idx) }
493493

494494
val locId = tw.getLocation(f)
495495

0 commit comments

Comments
 (0)