Commit 8b8ccb4
committed
[ConstraintSystem] Cache types of
While synthesizing `~=` application for multi-statement closures or
result builder, solver shouldn't set types directly to newly
created AST nodes because they might not be fully resolved, instead
such types have to be recorded in the constraint system and then
set during solution application.
Resolves: rdar://91145060.~= components1 parent 19ebc9b commit 8b8ccb4
3 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8774 | 8774 | | |
8775 | 8775 | | |
8776 | 8776 | | |
8777 | | - | |
| 8777 | + | |
8778 | 8778 | | |
8779 | 8779 | | |
8780 | 8780 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8940 | 8940 | | |
8941 | 8941 | | |
8942 | 8942 | | |
| 8943 | + | |
| 8944 | + | |
| 8945 | + | |
8943 | 8946 | | |
8944 | 8947 | | |
8945 | 8948 | | |
| |||
8968 | 8971 | | |
8969 | 8972 | | |
8970 | 8973 | | |
8971 | | - | |
8972 | 8974 | | |
8973 | 8975 | | |
8974 | 8976 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
880 | 880 | | |
881 | 881 | | |
882 | 882 | | |
| 883 | + | |
| 884 | + | |
883 | 885 | | |
884 | 886 | | |
885 | 887 | | |
| |||
908 | 910 | | |
909 | 911 | | |
910 | 912 | | |
911 | | - | |
912 | 913 | | |
913 | 914 | | |
914 | 915 | | |
| |||
0 commit comments