mirror of
https://github.com/ziglang/zig.git
synced 2026-02-14 13:30:45 +00:00
Fixed line numbers for tests
This commit is contained in:
parent
055e0fef4e
commit
b182151de5
@ -2300,17 +2300,7 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
|
||||
\\ _ = a.*;
|
||||
\\}
|
||||
,
|
||||
".tmp_source.zig:3:11: error: use of undefined value",
|
||||
);
|
||||
|
||||
cases.add(
|
||||
"unwrap on undefined value",
|
||||
\\comptime {
|
||||
\\ var a: ?u8 = undefined;
|
||||
\\ _ = a.?;
|
||||
\\}
|
||||
,
|
||||
".tmp_source.zig:3:11: error: use of undefined value",
|
||||
".tmp_source.zig:3:9: error: use of undefined value",
|
||||
);
|
||||
|
||||
cases.add(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user