| author | |
| committer | |
| log | a43c7af3d1e41ccee73678f114bb3844febcaad6 |
| tree | 5a1581139c05ad3b5aa0e9eb0d4a2a99c16203bb |
| parent | 897e783763d60449ad1b9514cb5ba86a38f7ae4a |
1 files changed, 1 insertions(+), 0 deletions(-)
test/cases/coroutines.zig+1| ... | ... | @@ -56,6 +56,7 @@ var result = false; |
| 56 | 56 | |
| 57 | 57 | async fn testSuspendBlock() void { |
| 58 | 58 | suspend |p| { |
| 59 | comptime assert(@typeOf(p) == promise->void); | |
| 59 | 60 | a_promise = p; |
| 60 | 61 | } |
| 61 | 62 | result = true; |