Now that the Ivy switch transform uses ts.getMutableClone() to copy statements, there's no need to set .parent pointers on the resulting updated nodes. Doing this was causing assertion failures deep in TypeScript in some cases. PR Close #27170
Now that the Ivy switch transform uses ts.getMutableClone() to copy statements, there's no need to set .parent pointers on the resulting updated nodes. Doing this was causing assertion failures deep in TypeScript in some cases. PR Close #27170