diff options
| author | kristopher tate <kt@connectfree.co.jp> | 2018-07-29 17:16:36 +0900 |
|---|---|---|
| committer | kristopher tate <kt@connectfree.co.jp> | 2018-08-02 16:59:11 +0900 |
| commit | bc032a89cc13e483a55c58bcba4593229dd7f3ed (patch) | |
| tree | 7e376899b6d98c5684ecfbaf3556e8e62248ae91 | |
| parent | 9fe140abad11a15a8bb81b3599600ca1ec6f00d0 (diff) | |
| download | zig-bc032a89cc13e483a55c58bcba4593229dd7f3ed.tar.gz zig-bc032a89cc13e483a55c58bcba4593229dd7f3ed.zip | |
std/zig/parser_test.zig: update test to reflect that the promise symbol is no in scope with suspend;
Tracking Issue #1296 ;
| -rw-r--r-- | std/zig/parser_test.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/zig/parser_test.zig b/std/zig/parser_test.zig index 21259bec3c..32cdc8121f 100644 --- a/std/zig/parser_test.zig +++ b/std/zig/parser_test.zig @@ -1784,7 +1784,7 @@ test "zig fmt: coroutines" { \\ x += 1; \\ suspend; \\ x += 1; - \\ suspend |p| {} + \\ suspend; \\ const p: promise->void = async simpleAsyncFn() catch unreachable; \\ await p; \\} |
