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:
parent
9b3cebcdb9
commit
51955a5ca2
@ -367,8 +367,8 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
|
|||||||
\\}
|
\\}
|
||||||
\\
|
\\
|
||||||
\\async fn foo() void {
|
\\async fn foo() void {
|
||||||
\\ suspend |p| {
|
\\ suspend {
|
||||||
\\ suspend |p1| {
|
\\ suspend {
|
||||||
\\ }
|
\\ }
|
||||||
\\ }
|
\\ }
|
||||||
\\}
|
\\}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user