You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix a memory corruption bug when modifying SwiftSyntax nodes
When modifying SwiftSyntax nodes that calls `replacingSelf`, we could get into a situation where `arena` gets deallocated before it can be retained by the `forRoot` call.
Throw in a `withExtendedLifetime` call to make sure we don’t loose the arena.
rdar://109860357
0 commit comments