mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 12:48:14 +00:00
Fix os.stat code; make fmt.panicf diverging
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user