Files
swift-mirror/lib/Sema/BuilderTransform.cpp
Nathan Hawes c4b0983a81 [Sema][CodeCompletion] Allow empty case statement bodies in the result builder transform...
..when typechecking for code completion.

They were disallowed to give better diagnostics, but code completion suppresses
diagnostics and can't provide any completions at all when the transform fails as
it doesn't get any types.

Resolves rdar://problem/74028722
2021-02-17 16:09:52 +10:00

73 KiB