swift
5cba70d1 - [Async Refactoring] Fix crash on recursive AST walk

Commit
4 years ago
[Async Refactoring] Fix crash on recursive AST walk The async refactoring may perform recursive AST walks in cases such as transforming the body of a hoisted closure. Make sure this can be handled by the logic tracking the ASTWalker in the SourceEntityWalker, such that we don't crash when later converting the call to a completion callback. rdar://78693050
Author
Committer
Parents
  • include/swift/IDE
    • File
      SourceEntityWalker.h
  • test/refactoring/ConvertAsync
    • File
      convert_function.swift