From a09ed81b0078bb1307060029786a9a92a88fa951 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Mon, 9 Sep 2024 18:10:17 +0100 Subject: [PATCH] KE2: Reenable extractExprContext --- .../src/main/kotlin/KotlinFileExtractor.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/java/kotlin-extractor2/src/main/kotlin/KotlinFileExtractor.kt b/java/kotlin-extractor2/src/main/kotlin/KotlinFileExtractor.kt index 7c952ad88dd..89aeef52e1f 100644 --- a/java/kotlin-extractor2/src/main/kotlin/KotlinFileExtractor.kt +++ b/java/kotlin-extractor2/src/main/kotlin/KotlinFileExtractor.kt @@ -5847,6 +5847,7 @@ OLD: KE1 ) { extractExpression(e, callable, ExprParent(parent, idx, enclosingStmt)) } +*/ private fun extractExprContext( id: Label, @@ -5859,6 +5860,8 @@ OLD: KE1 enclosingStmt?.let { tw.writeStatementEnclosingExpr(id, it) } } +/* +OLD: KE1 private fun extractEqualsExpression( locId: Label, parent: Label, @@ -5909,10 +5912,7 @@ OLD: KE1 tw.writeExprs_integerliteral(it, type.javaResult.id, parent, idx) tw.writeExprsKotlinType(it, type.kotlinResult.id) tw.writeNamestrings(text, v.toString(), it) -/* -OLD: KE1 extractExprContext(it, locId, callable, enclosingStmt) -*/ } /*