mirror of
https://github.com/ziglang/zig.git
synced 2026-01-04 12:33:19 +00:00
std/zig/parser_test.zig: update test to reflect that the promise symbol is no in scope with suspend;
Tracking Issue #1296 ;
This commit is contained in:
parent
9fe140abad
commit
bc032a89cc
@ -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;
|
||||
\\}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user