We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a02505 commit 763f869Copy full SHA for 763f869
java/kotlin-extractor/src/main/kotlin/KotlinFileExtractor.kt
@@ -2594,10 +2594,7 @@ open class KotlinFileExtractor(
2594
tw.writeCallableEnclosingExpr(id, callable)
2595
tw.writeStatementEnclosingExpr(id, exprParent.enclosingStmt)
2596
2597
- val vId = if (owner is IrValueParameter && owner.isExtensionReceiver())
2598
- useValueParameter(owner, useFunction(owner.parent as IrFunction))
2599
- else
2600
- useValueDeclaration(owner)
+ val vId = useValueDeclaration(owner)
2601
if (vId != null) {
2602
tw.writeVariableBinding(id, vId)
2603
}
0 commit comments