Commit b138c2c
committed
Updated logic for diagnosting implicit self capture to handle immutable weak capture (minor source-breaking change)
1 parent 4aa2847 commit b138c2c
File tree
4 files changed
+8
-20
lines changed- include/swift/AST
- lib
- AST
- Sema
- test/expr/closure
4 files changed
+8
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
732 | | - | |
733 | | - | |
| 732 | + | |
734 | 733 | | |
735 | 734 | | |
736 | 735 | | |
| |||
841 | 840 | | |
842 | 841 | | |
843 | 842 | | |
844 | | - | |
845 | | - | |
| 843 | + | |
846 | 844 | | |
847 | 845 | | |
848 | 846 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | | - | |
524 | | - | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
525 | 523 | | |
526 | 524 | | |
527 | 525 | | |
| |||
532 | 530 | | |
533 | 531 | | |
534 | 532 | | |
535 | | - | |
536 | | - | |
| 533 | + | |
537 | 534 | | |
538 | 535 | | |
539 | 536 | | |
| |||
561 | 558 | | |
562 | 559 | | |
563 | 560 | | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
568 | 561 | | |
569 | 562 | | |
570 | 563 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1755 | 1755 | | |
1756 | 1756 | | |
1757 | 1757 | | |
1758 | | - | |
1759 | | - | |
| 1758 | + | |
1760 | 1759 | | |
1761 | 1760 | | |
1762 | 1761 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1604 | 1604 | | |
1605 | 1605 | | |
1606 | 1606 | | |
1607 | | - | |
1608 | | - | |
1609 | | - | |
| 1607 | + | |
1610 | 1608 | | |
1611 | 1609 | | |
1612 | 1610 | | |
| |||
0 commit comments