mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
inside function returning it
A stack overflow would happen when the compiler tried emitting debug
info for a function whose opaque return type was declared inside the
function itself. This fixes the issue by emitting a forward declaration
for the function before emitting it.
rdar://150313956
(cherry picked from commit c03831f70d)
169 KiB
169 KiB