Commit f60d17b
committed
[Function builders] Use one-way constraints for closure parameters.
Introduce one-way constraints for the parameters of closures to which a
function builder is being applied. This was an intended part of the
model when one-way constraints were introduced, but somehow got
missed. This should further break up large constraints systems for
faster solving, and *most likely* won't break much source code in
practice.
Fixes rdar://problem/64231116.1 parent 9a3d863 commit f60d17b
File tree
3 files changed
+46
-24
lines changed- lib/Sema
- test/Constraints
3 files changed
+46
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7222 | 7222 | | |
7223 | 7223 | | |
7224 | 7224 | | |
| 7225 | + | |
| 7226 | + | |
| 7227 | + | |
| 7228 | + | |
| 7229 | + | |
| 7230 | + | |
| 7231 | + | |
| 7232 | + | |
| 7233 | + | |
| 7234 | + | |
| 7235 | + | |
| 7236 | + | |
| 7237 | + | |
| 7238 | + | |
| 7239 | + | |
| 7240 | + | |
| 7241 | + | |
| 7242 | + | |
7225 | 7243 | | |
7226 | 7244 | | |
7227 | 7245 | | |
| |||
7235 | 7253 | | |
7236 | 7254 | | |
7237 | 7255 | | |
7238 | | - | |
7239 | | - | |
7240 | | - | |
7241 | 7256 | | |
7242 | 7257 | | |
7243 | 7258 | | |
| |||
7288 | 7303 | | |
7289 | 7304 | | |
7290 | 7305 | | |
7291 | | - | |
7292 | | - | |
7293 | | - | |
7294 | | - | |
7295 | | - | |
7296 | | - | |
7297 | | - | |
7298 | | - | |
7299 | | - | |
7300 | | - | |
7301 | | - | |
| 7306 | + | |
| 7307 | + | |
| 7308 | + | |
| 7309 | + | |
| 7310 | + | |
| 7311 | + | |
7302 | 7312 | | |
7303 | 7313 | | |
7304 | 7314 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
0 commit comments