Merge pull request #9074 from mattbork/parse-always-scratch

parse.zig: simplify parsing functions that build lists by always using scratch buffer
This commit is contained in:
Veikka Tuominen 2021-06-13 19:49:41 +03:00 committed by GitHub
commit f58fbb1004
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 352 additions and 611 deletions

File diff suppressed because it is too large Load Diff

View File

@ -5154,7 +5154,7 @@ test "recovery: missing for payload" {
try testError(
\\comptime {
\\ const a = for(a) {};
\\ const a: for(a) {};
\\ const a: for(a) blk: {};
\\ for(a) {}
\\}
, &[_]Error{