Merge pull request #18077 from igfoo/igfoo/stmt

KE2: Reenable more code for ExprParent.stmt
This commit is contained in:
Ian Lynagh
2024-11-22 15:33:38 +00:00
committed by GitHub

View File

@@ -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)
}