Imply #no_capture to all variadic parameters

This commit is contained in:
gingerBill
2024-07-14 12:19:47 +01:00
parent 891cf54b5c
commit 8642d719f0
25 changed files with 125 additions and 117 deletions
@@ -51,7 +51,7 @@ common_prefix :: proc(strs: []string) -> string {
return prefix
}
errorf :: proc(format: string, #no_capture args: ..any) -> ! {
errorf :: proc(format: string, args: ..any) -> ! {
fmt.eprintf("%s ", os.args[0])
fmt.eprintf(format, ..args)
fmt.eprintln()