commit 51955a5ca2b6f3f005e28cd3758dc481c2eea0c3 (tree)
parent 9b3cebcdb9bedfa2ef49ddfb0dffea0899ab558d
Author: kristopher tate <kt@connectfree.co.jp>
Date: Sun, 29 Jul 2018 17:18:54 +0900
test/compile_errors.zig: update test to reflect that the promise symbol is no in scope with suspend;
Tracking Issue #1296 ;
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/compile_errors.zig b/test/compile_errors.zig
@@ -367,8 +367,8 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
\\}
\\
\\async fn foo() void {
- \\ suspend |p| {
- \\ suspend |p1| {
+ \\ suspend {
+ \\ suspend {
\\ }
\\ }
\\}