Fix os.stat code; make fmt.panicf diverging

This commit is contained in:
gingerBill
2020-09-30 22:04:39 +01:00
parent c35d533ce5
commit 9513cf1ac6
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ assertf :: proc(condition: bool, fmt: string, args: ..any, loc := #caller_locati
return condition;
}
panicf :: proc(fmt: string, args: ..any, loc := #caller_location) {
panicf :: proc(fmt: string, args: ..any, loc := #caller_location) -> ! {
p := context.assertion_failure_proc;
if p == nil {
p = runtime.default_assertion_failure_proc;