mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Instead of requiring that function body synthesizers will always call setBody(), which is annoyingly stateful, have function body synthesizers always return the synthesized brace statement along with a bit that indicates whether the body was already type-checked. This takes us a step closer to centralizing the mutation of the body of a function.
18 KiB
18 KiB