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:
kristopher tate 2018-07-29 17:18:54 +09:00
parent 9b3cebcdb9
commit 51955a5ca2

View File

@ -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 {
\\ } \\ }
\\ } \\ }
\\} \\}