Commit 4423399
committed
[CS] Use apply component locator for
For a method key path use the locator for the apply itself rather
than the member, ensuring we handle invalid cases where the apply is
the first component, and providing more accurate location info.verifyThatArgumentIsHashable
1 parent 61d0486 commit 4423399
File tree
8 files changed
+26
-16
lines changed- include/swift/Sema
- lib/Sema
- validation-test/compiler_crashers_2_fixed
8 files changed
+26
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
263 | 267 | | |
264 | 268 | | |
265 | 269 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6405 | 6405 | | |
6406 | 6406 | | |
6407 | 6407 | | |
6408 | | - | |
| 6408 | + | |
| 6409 | + | |
6409 | 6410 | | |
6410 | 6411 | | |
6411 | 6412 | | |
| |||
6417 | 6418 | | |
6418 | 6419 | | |
6419 | 6420 | | |
6420 | | - | |
| 6421 | + | |
6421 | 6422 | | |
6422 | 6423 | | |
6423 | 6424 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1707 | 1707 | | |
1708 | 1708 | | |
1709 | 1709 | | |
1710 | | - | |
1711 | | - | |
1712 | | - | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
1713 | 1714 | | |
1714 | 1715 | | |
1715 | 1716 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1198 | 1198 | | |
1199 | 1199 | | |
1200 | 1200 | | |
1201 | | - | |
1202 | 1201 | | |
1203 | 1202 | | |
1204 | 1203 | | |
| |||
1225 | 1224 | | |
1226 | 1225 | | |
1227 | 1226 | | |
1228 | | - | |
| 1227 | + | |
1229 | 1228 | | |
1230 | 1229 | | |
1231 | 1230 | | |
| |||
3895 | 3894 | | |
3896 | 3895 | | |
3897 | 3896 | | |
3898 | | - | |
3899 | | - | |
3900 | 3897 | | |
3901 | | - | |
3902 | | - | |
| 3898 | + | |
3903 | 3899 | | |
3904 | 3900 | | |
3905 | 3901 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9221 | 9221 | | |
9222 | 9222 | | |
9223 | 9223 | | |
9224 | | - | |
9225 | | - | |
9226 | | - | |
| 9224 | + | |
| 9225 | + | |
| 9226 | + | |
| 9227 | + | |
9227 | 9228 | | |
9228 | 9229 | | |
9229 | 9230 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
627 | 627 | | |
628 | 628 | | |
629 | 629 | | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
630 | 637 | | |
631 | 638 | | |
632 | 639 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
0 commit comments