Skip to content

Commit

Permalink
tests: fix broken type inference caused by removal of anonymous structs
Browse files Browse the repository at this point in the history
  • Loading branch information
Vexu committed Nov 2, 2024
1 parent 02800a2 commit 22bb0eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/record_runner.zig
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ fn parseTargetsFromCode(cases: *TestCase.List, path: []const u8, source: []const

const compErr = blk: {
@setEvalBranchQuota(100_000);
break :blk std.StaticStringMap(ExpectedFailure).initComptime(.{
break :blk std.StaticStringMap(ExpectedFailure).initComptime(&[_]struct { []const u8, ExpectedFailure }{
.{
"aarch64-generic-windows-msvc:Msvc|0018",
.{ .parse = false, .layout = false, .extra = true, .offset = false },
Expand Down

0 comments on commit 22bb0eb

Please sign in to comment.