Skip to content

Commit

Permalink
Merge pull request #18077 from igfoo/igfoo/stmt
Browse files Browse the repository at this point in the history
KE2: Reenable more code for ExprParent.stmt
  • Loading branch information
igfoo authored Nov 22, 2024
2 parents bafee5e + 19986f0 commit b816c1f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions java/kotlin-extractor2/src/main/kotlin/KotlinFileExtractor.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit b816c1f

Please sign in to comment.