mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
- Added @format attribute for compile time printf validation #2057.
- Bug when printing a boolean value as an integer using printf.
This commit is contained in:
@@ -448,7 +448,7 @@ fn void test_file(Path file_path)
|
||||
if (result != 0 && result != 1)
|
||||
{
|
||||
(void)io::copy_to(&&compilation.stdout(), &out);
|
||||
io::printfn("FAILED - Error(%s): ", result, out);
|
||||
io::printfn("FAILED - Error(%s): %s", result, out);
|
||||
return;
|
||||
}
|
||||
if (!parse_result(out, settings)) return;
|
||||
|
||||
Reference in New Issue
Block a user