Commit a991179
committed
Concurrency: Local functions should inherit isolation from context
Instead of looking at captures, which wasn't sound with
recursive local functions; we would look at the captures of
the function currently being type checked, which are not
available yet.1 parent c66de77 commit a991179
File tree
2 files changed
+27
-3
lines changed- lib/Sema
- test/Concurrency
2 files changed
+27
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5174 | 5174 | | |
5175 | 5175 | | |
5176 | 5176 | | |
5177 | | - | |
5178 | | - | |
5179 | | - | |
| 5177 | + | |
5180 | 5178 | | |
5181 | 5179 | | |
5182 | 5180 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
755 | 755 | | |
756 | 756 | | |
757 | 757 | | |
| 758 | + | |
| 759 | + | |
758 | 760 | | |
759 | 761 | | |
760 | 762 | | |
| |||
774 | 776 | | |
775 | 777 | | |
776 | 778 | | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
777 | 803 | | |
778 | 804 | | |
779 | 805 | | |
| |||
0 commit comments