Hamish Knight
ee0e408a8c
[Sema] Remove separate closure type-checking logic
...
`participatesInInference` is now always true for
a non-empty body, remove it along with the separate
type-checking logic such that empty bodies are
type-checked together with the context.
2024-09-08 16:17:11 +01:00
Hamish Knight
72fe29f7f4
[CS] Add custom diagnostic for missing result builder element
...
If we have a single missing argument for an empty
`buildBlock` call, emit a custom diagnostic.
2024-09-08 16:17:11 +01:00
Pavel Yaskevich
697dfbae96
[TypeChecker] Enable result builder AST transform by default
2022-12-21 10:31:30 -08:00
Holly Borla
0708e0efd4
Revert "Tests: Disable failing SwiftUI validation tests"
2022-11-15 09:10:23 -08:00
Allan Shortlidge
b2421aa463
Tests: Disable failing SwiftUI validation tests until rdar://102298208 is fixed.
2022-11-13 16:56:20 -08:00
Pavel Yaskevich
874d0fbe8f
[TypeChecker] NFC: Add a test-case for rdar://88256059
2022-02-21 16:34:53 -08:00