Imply #no_capture to all variadic parameters

This commit is contained in:
gingerBill committed 2024-07-14 12:19:47 +01:00
1 parent 891cf54b5c
commit 8642d719f0
25 files changed
+125 -117

No files matched your search

@@ -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()