Commit 3564d14
committed
Fix source location info to address availability error with
Due to a missing source location in the implicitly-generated `await` in the
async for loop, we misdiagnosed availability within an `if #available`.
Fixes rdar://128560745.next(isolation:)
1 parent d051b62 commit 3564d14
File tree
2 files changed
+19
-1
lines changed- lib/Sema
- test/Concurrency
2 files changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4630 | 4630 | | |
4631 | 4631 | | |
4632 | 4632 | | |
4633 | | - | |
| 4633 | + | |
4634 | 4634 | | |
4635 | 4635 | | |
4636 | 4636 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
0 commit comments