Commit 1580386
committed
[ConstraintSystem] Fix result builder discovery in leading-dot syntax calls
Leading-dot syntax allows implicitly unwrapping result type to form
a base type of the call, `getOpenedResultBuilderTypeFor` needs to
account for that.
Resolves: swiftlang#60586
(cherry picked from commit 9399451)1 parent 15a3ff6 commit 1580386
File tree
2 files changed
+19
-1
lines changed- lib/Sema
- test/Constraints
2 files changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9866 | 9866 | | |
9867 | 9867 | | |
9868 | 9868 | | |
9869 | | - | |
| 9869 | + | |
| 9870 | + | |
| 9871 | + | |
9870 | 9872 | | |
9871 | 9873 | | |
9872 | 9874 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1198 | 1198 | | |
1199 | 1199 | | |
1200 | 1200 | | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
0 commit comments