mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
test/compile_errors.zig: update test to reflect that the promise symbol is no in scope with suspend;
Tracking Issue #1296 ;
This commit is contained in:
1 parent
9b3cebcdb9
commit
51955a5ca2
1 file changed
+2
-2
@@ -367,8 +367,8 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
|
||||
\\}
|
||||
\\
|
||||
\\async fn foo() void {
|
||||
\\ suspend |p| {
|
||||
\\ suspend |p1| {
|
||||
\\ suspend {
|
||||
\\ suspend {
|
||||
\\ }
|
||||
\\ }
|
||||
\\}
|
||||
|
||||
Reference in new issue
Block a user