Files
swift-mirror/lib/Sema/ConstraintSystem.cpp
Pavel Yaskevich efafe02a30 [ConstraintSystem] SE-0326: Temporarily prevent multi-statement closure inference in result builder contexts
Multi-statement closure inference doesn't play well with result builders
at the moment because it expects all of the information from the parent
statements to be inferred before solver starts working on the body of a
nested closure. Let's prevent inference for nested multi-statement closures
until result builders are ported to use conjunctions and solve the body
incrementally top-down instead of in one shot.
2021-12-25 17:09:19 -08:00

220 KiB