Commit 8972d62
committed
[CoroutineAccessors] Don't observe caller errors.
Experience with `_modify`/`_read` has shown that it is never desireable
to cleanup differently based on whether the caller has thrown. Emit an
`end_apply` in either case.1 parent df1c4f6 commit 8972d62
File tree
2 files changed
+6
-2
lines changed- lib/SILGen
- test/SILGen
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4989 | 4989 | | |
4990 | 4990 | | |
4991 | 4991 | | |
4992 | | - | |
| 4992 | + | |
| 4993 | + | |
| 4994 | + | |
| 4995 | + | |
| 4996 | + | |
4993 | 4997 | | |
4994 | 4998 | | |
4995 | 4999 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
0 commit comments