swift
df549dbd - [TypeChecker] SE-0326: Check whether function declaration is a result builder context

Commit
3 years ago
[TypeChecker] SE-0326: Check whether function declaration is a result builder context This is a follow-up to https://github.com/apple/swift/pull/40708 which only considers closures, but it missed the case when builder is applied to function body - in such cases the declaration context is going to be a function/getter declaration. Resolves: rdar://91150414
Author
Parents
Loading