From 19986f030756da1ec9315e050f816931853bc850 Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 22 Nov 2024 14:04:02 +0000 Subject: [PATCH] KE2: Reenable more code for ExprParent.stmt --- .../src/main/kotlin/KotlinFileExtractor.kt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/java/kotlin-extractor2/src/main/kotlin/KotlinFileExtractor.kt b/java/kotlin-extractor2/src/main/kotlin/KotlinFileExtractor.kt index 0d9ba438a27..446961c2f6e 100644 --- a/java/kotlin-extractor2/src/main/kotlin/KotlinFileExtractor.kt +++ b/java/kotlin-extractor2/src/main/kotlin/KotlinFileExtractor.kt @@ -3886,11 +3886,8 @@ OLD: KE1 val type = useType(et) val locId = tw.getLocation(e) tw.writeExprs_stmtexpr(id, type.javaResult.id, parent, idx) - /* - OLD: KE1 - tw.writeExprsKotlinType(id, type.kotlinResult.id) - extractExprContext(id, locId, callable, enclosingStmt) - */ + tw.writeExprsKotlinType(id, type.kotlinResult.id) + extractExprContext(id, locId, callable, enclosingStmt) return StmtParent(id, 0) }