swift
cbb32aae - [Sema] Don't abort the result builder transform if the builder contained an ErrorExpr

Commit
2 years ago
[Sema] Don't abort the result builder transform if the builder contained an ErrorExpr When matching a result builder in the constraint system, the closure has already been pre-checked so we don’t need to pre-check it again. Also, we can continue type checking even if the closure contained an `ErrorExpr` since result builders are now type checked like regular closures.
Author
Parents
Loading