pass more tests
by removing assertion, fixing error column, and updating expected message
This commit is contained in:
@@ -963,7 +963,7 @@ fn f() {
|
||||
fn f() {
|
||||
if (const x ?= true) { }
|
||||
}
|
||||
)SOURCE", 1, ".tmp_source.zig:3:20: error: expected maybe type");
|
||||
)SOURCE", 1, ".tmp_source.zig:3:20: error: expected nullable type, found 'bool'");
|
||||
|
||||
add_compile_fail_case("cast unreachable", R"SOURCE(
|
||||
fn f() -> i32 {
|
||||
|
||||
Reference in New Issue
Block a user